Learn if else/ switch case
Learn new knowledge:
- elementOject.addEventListener(‘event name’, function(e) {
do something;}. Event can be click, mouse down, mouse up, mouse move, keydown, keyup, keypress - Object Math: use some Math.random(); Math.floor(); Math.pow();…
- Difference between Innertext & InnerHtml
- The way to take keyCode