Coaching this? Read the coach guidance here.
JavaScript (or JS) is a fully-featured programming language. It is today one of the most popular languages used for the development of web applications, and also for a lot of different programs.
It's a great second language to learn, as it introduces many new language concepts not found in languages such as Ruby. It will also let you reinforce concepts you've already learned.
In this module, you'll learn the basics of Javascript by pairing through a series of exercises, either building on previous knowledge or discovering new concepts. You'll then build a more complex coding challenge using all of those new concepts.
- Test-drive a simple Javascript program using Node.
- Explain how asynchronous programming is different from synchronous, blocking programming.
- Apply a coherent process to learn a new language.
Work through these exercises designed to train the basics of JavaScript. If you already know JavaScript or you feel like a challenge, feel free to skip a few of these steps.
- Running JavaScript
- Running files
- Variables and visibility
- Functions
- Conditionals
- Loops
- Functions as values
- Callbacks
- Arrays
- Objects
- Array operations
- Classes
Work through challenges designed to help you learn how to use JavaScript in a real application, including unit tests, multiple classes, and external dependencies on packages and remote APIs.
- Testing with Jest
- A Search function
- A Shopping basket
- A Thermostat
- A Pokédex
- A Weather client
- A Web server
Most people won't complete all of this and that is OK.
Work on the Bowling Challenge in JavaScript
- Learning a new language by translation
- Mocking with Jest
- Explore asynchronicity in JavaScript with callback functions
- What is a callback in JavaScript? (video)
- Manipulating functions
- Closures
- Stretch — build a web server with JavaScript
- Technical learning resources
- Using Functions as Arguments
- Asynchronous JS and callbacks
- Following the flow and getting visibility in JavaScript
- The function keyword in JS
- JavaScript versions - ES6 and before
- What is a callback in JavaScript? (video)
- Build a simple web server with express
How was this resource?
😫 😕 😐 🙂 😀
Click an emoji to tell us.
.