Where does it fit in?
... with
HTML
Where does it fit in
... with
CSS
HOly trinity
JavaScript completes the Holy Trinity of Web Development
These technologies are very much interconnected.
Analogy
HTML defines the structure of this window frame
-
Wooden
- Glass window
-
16" x 24" x 2"
ANalogy
CSS defines the style of this window
-
Has a light finish
- Square edges
Analogy
JavaScript gives us the action!
- JS gives us the handle that allows the window to lock/unlock
- JS gives us the hinges that allow the window to swing open/closed
Fun facts
Developed by Brandon Eich in 10 days!
WOW! That's fast.
Fun Facts
JavaScript has been called the most hated programming language.
Fun Facts
JavaScript is now being embraced!
Written in 2013
LOL
Fun Facts
The developer community embrace is due in large part to
Released 2006 and 2008
Final fun fact
"JavaScript is the language of the web."
It's the ONLY programming language that your browser understands.
Conclusion
HTML, CSS and JS have 3 very different purposes
BUT are tightly bound together.
CONCLUSION
JavaScript provides the action on a webpage
No amount of HTML or CSS is going to make that window open!