What is w3schools?
How does w3schools work?
The website is divided into tutorials for each language, that are subsequently divided into chapter. Every chapter is displayed as one webpage, and covers multiple subjects, with example code for each subject. For every subject, there is a button labeled ‘Try it Yourself’, which takes you to their Tryit Editor, where you can practice by editing their example code, and can see the results by clicking the ‘See Result’ button.
At the end of every chapter page, there are a couple of exercises you can try. Clicking on an exercise brings you to a page similar to the Tryit Editor, but now also displays a specific excercise. You complete the exercise by editing the code according to the instructions, and click on the ‘Show results’ button. Once you’ve clicked the ‘Show results’ button, the correct code is displayed on the left. If your code is the same as the correct code, you have succesfully completed the exercise.