Practice, practice, practice. Same as week 1, you are not handing in any homework, but are going to practice as much javascript as you can. Play around with the exercises mentioned below, remember that you can copy the code into jsTutor to step through the code, or look at it in the debugger in the browser/vscode.
- Practice the concepts
- Prep exercises
- Practice practice practice
In this section you will be doing interactive exercises, that will allow you to practice with the concepts you've learned about this week! Do as many as you need to feel comfortable with the concepts.
- Do all parts of Codecademy: Arrays (Signup required!)
- Do 5 exercises of FreeCodeCamp: Basic data structures
- There is a practice-exercises folder in this week's repository that is filled with exercises to try out. The solutions are in a separate folder so you can check if you did it correctly. Clone this repository to your computer and have a go!
Prep exercises are exercises that you should work on before the session on Sunday. These are a little more difficult or show an important concept and as such are a great exercise to talk about with your class and your Q&A mentor. Have a solution ready by Sunday as you may be asked to show what you did.
Inside your JavaScript fork, go to the folder Week2. Inside of that folder, navigate to /prep-exercises. For each exercise, you will find a separate folder. The README explains what needs to be done. There will also be some questions at the bottom to think about. Go through them before the session on Sunday as it will be covered then.
Done with the above? Then it is time to practice practice practice! Below you will find huge lists of practice exercises to keep practicing. The better you get at JavaScript, the easier the rest of the curriculum is so try to do as much as you can. Some of these solutions use some of the concepts of next week so if something looks weird, have a quick look at next week's topics to see what it means:
- W3Resource Basic exercises (Note that the given solutions to these exercises use old JS syntax, we will learn more about this later. Most important now is that we don't use
varanymore, so make sure you useletorconst!)
For the first 2 weeks of JavaScript there is no homework to hand in as the exercises already give you all the feedback you need. Go through the first 3 weeks at your own pace, and feel free to ask questions about any of the 3 weeks for the Q&A sessions.
While there’s no homework to be handed in this week, we strongly suggest that you start working on your Personal Brand as mentioned in the Career Training session. Keep in mind that the last week of Javascript you will have to hand in your CV and the last two weeks are quite difficult!
Try to do more exercises in the links above. The first weeks of the JavaScript modules are very important as understanding the basics will make the rest of the curriculum that much easier to follow. So keep reading and writing code! If you feel up to it, continue on to week 3 as then we bring everything together.