JavaScript is a programming language. We use it to communicate with the browser, software that allows us to access the Internet and open webpages. It is essential to learn in order to become a web developer.
You've already learned what HTML and CSS do. Javascript is the third part that makes the circle complete. If we liken the three to the human body, we could say that HTML provides the skeleton with all the basic content, CSS makes the skin/shape to determine the look, and JavaScript is the brain and muscles to allow for interactivity.
The main use for JavaScript is to make your webpage interactive: for example, if you click a button it will open a popup. Or if you scroll over an image, it changes its color.
{% hyf-youtube src="https://www.youtube.com/watch?v=nItSSTwBvSU" %}
{% hyf-youtube src="https://www.youtube.com/watch?v=OSWppEa2Zac" %}
If you just can't get enough, here are some extra links that mentors/students have found useful concerning this topic:
- "Intro" from JavaScript.info
- "What is JS" from MDN
- 5 computer language fundamentals
- Hello World (js.info)
- code structure (js.info)
- They're all good, pick your favorite and go for it!
- Looking for even more? Check out Awesome JavaScript Learning
- LaunchCode
- Programiz
- JavaScript for Everyone
- 30 Days of JavaScript
- RithmSchool: JS part 1, JS part 2
- Introduction to JavaScript
- dinanathsj29: Tutorial, Exercises
- FreeCodeCamp, JavaScript in 3 Hours & video series
- Dev Ed
- mmtuts: How to Get Started with JS
- Net Ninja: JS Tutorial For Beginners
- Mosh: Learn JavaScript in 1 Hour
- FreeCodeCamp: JavaScript Tutorial For Beginners
- Edureka: Learn JavaScript - Full Course for Beginners
- Caleb Curry: JavaScript All in one - 9 hours
- Traversy Media: JavaScript Crash Course For Beginners
- Great Learning: JavaScript Tutorial For Beginners - Full Course In 11 Hours
- Javascript.info - the best reference for good & quick explanations
- Eloquent JavaScript
- Just JavaScript
- MDN - where you go to dig deeper
- JS Study Tools: JS Tutor, the devtools, VSCode Debugger
- JavaScript Core 1 (CYF) (practice repo)
- JS Exercises (CYF) (practice repo)
- JavaScript for Cats - Fun website with good examples to study.
- Headfirst JavaScript: PDF, GitHub - very thorough and well-guided introduction.