https://www.udacity.com/course/intro-to-javascript–ud803
(1) Intro to JavaScript and (2) History of JavaScript
- Brenden Eich created Javascript back in 1995 in only 10 days while he was working on Netscape Navigator (Web browser).
- Java and Javascript have nothing to do with each other. The naming convention was used to piggyback off the popularity of Java.
(3) The JavaScript Console
- Open JavaScript Console by going on the Chrome web browser and right clicking on the screen then select “inspect”
- *Shortcut – Mac CMD + Option + J
- You can type in code snippets into the “console” on your Chrome browser to test your code live.
(4) Developer Tools on Different Browsers
(5) console.log
console.log displays content to the JavaScript console.
(6) JavaScript Demo
By pasting javascript code snippets into the developer tools in Chrome, you can create an interactive web experience right into the browser to test different code features.
(7) Lesson 1 Summary
- Most web browsers have built-in Javascript Engines to run and execute JavaScript Code.
- Built-in JavaScript Console
allow you to test code right in the browser. - You can test adding styling and animations to websites with the JavaScript Console.