Welcome to the JavaScript folder.
The folder consists of 73 exercises, divided into 11 series.
Don't be afraid of the number: most of these exercises are very short and focus on a particular aspect.
The exercises follow one another in a logical relatively way, but don't let one exercise stop you: go to the next, come back to it later.
☝️ Each exercise must be done.
🤟 NOTE: The exercises in series 9 are a little more complex, worth a try: they are good syntheses of the progress made.
You will see very soon in your research which exist an "old" Javascript and a "new" Javascript, called ES6 or ES2015, and also ES2016, ES2017, etc.
What does it mean ? So, it should be a good idea to explain this mess in a watch - wink, wink - don't worry too much about it : for this exercices, retain that ES2015 is the new standard, and stay focus on this version.
Some exercises may require running the code on a local server.
This is a good practice that should always be applied. Maybe, you have already install node.js and npm on your machines. If not, do it ;).
If you want to configure correctly the global settigs of npm follow this article.
We prepared for you a local server to use from your command line called sèvè.
Then, use your terminal to navigate to your repo and run the following commands :
npm install
npm start
If everything ir right, your default's browser will be opened on the address localhost:8000.
For the fetch exercises, you are going to need to query a REST API. We have provided you with a small script to run this API locally.
Open a second terminal, then navigate to the repo folder. Then issue the following commands :
npm run api
From there, you will have a REST API available at http://localhost:3000
To get the most out of these exercises, some useful resources:
- Code Academy
- Silent Teacher - learn and have fun
- Solo Learn - Javascript 🇬🇧
- Sabe - Javascript 🇬🇧
- Mozilla Javascript Guide 🇬🇧 🇫🇷
- jsfiddle - to test your js codes
- learn x in y minutes
- learn js
- 10 js array methods
Good work!