2. Know Functions
It is very important to you because you have to use functions everywhere. We use functions to reduce the code, optimize the code and make the codes eye-catching. For this, you surely need to know how to build a function and when you have to call a function.
3. Make a Click Event
It can be a click event, or it can be a hover event. Somethings you need to interact with the page when you click something, for example: when you click a button, some features like modal box will be open or when you click close button, it takes you to go back homepage. This is very interesting to developers to add features through it.
4.Need to know Variable Scope
- Global variable: Declared outside of a block.
- Local variable: Declared inside of a block.
Also, you have to know the difference between var, let, and const.
5. Error Handling and know how to debug