• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

In this hour, you've learned to use JavaScript statements such as if and else to test and compare values. You've also learned a quick way to test values with the ? operator, and used the switch statement to test for a number of different values. Finally, you've applied this knowledge by asking the user a question and testing the answer.

In the next hour, you'll learn another fundamental JavaScript programming tool, loops, which you can use to make JavaScript perform repetitive tasks without repetitive typing.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint