
Three Basics JavaScript (JS) Concepts
- JS adds interactivity to web pages
- Lets web designers collect and share information easily and quickly
- Without JS web pages are just text and images
- Create rollover images, pop-ups, forms, alerts, and lots more
- JS is FREE!
- There is no cost to use JS in your web pages
- JS is similar to computer programming languages, but A LOT easier to learn
Key JavaScript Vocabulary
- Statements -tell the web browser what to do
- Comments -add comments to the JS code (like comments in HTML)
- Variables -store information to be used in JS statements and functions
- Operators -used to store and add values (= +)
- Comparison -used to test for true or false
- Conditional Statements -used to perform different actions based on different conditions (If...Else and Switch)
- Pop-up Window -Used for Alerts, Confirmation, and Prompts
- Function -A code block that can be executed on an event or when called
- Lots of other useful codes coming soon!
week oneDocument with lots of simple JS
full sourcehttp://www.w3schools.com/js/default.asp