SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2011
    The land of nod
    0 Post(s)
    0 Thread(s)

    Javascript basics what to learn (Real world scenario style questions/programs) ?

    Hi all,

    I have been studying Javascript for a couple of months now, but have kind of come to a dead end in terms of in what instances will I need to apply JS to websites and can anyone recommend any Q and A style tutorials, to test myself,

    My current knowledge (which is very basic) so far contains being able to:

    • Write a prompt
    • Write a confirm
    • write a basic for loop
    • write a basic while loop
    • write an array
    • write a function containing parameters/arguements and building them into a sentence to display in an alert
    • write a for loop which loops through an array and displays each array value combined in a sentence in an alert
    • write a nested if/else statement
    • write a switch statment and the equivalent if/else if version
    • use array values and build them into a sentence built inside a function, then call that function
    • build an Object with properties and a method, and concatenate there values again to display a sentence via an alert
    • built an Object constructor but again only producing a sentence to display via an alert

    Any guidance on scenarios to use to demo JS or a good tutorial website for real world scenarios, would be most appreciative.



  2. #2
    SitePoint Addict
    Join Date
    Dec 2005
    1 Post(s)
    0 Thread(s)
    A quick response is to learn the DOM - Document Object Model. Javascript is the behavioural (sp?) layer for a web page (HTML - content, CSS - style), so learning the DOM is kinda essential to most real world scenarios.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts