#100DaysOfCode Day-5
#JSnotes
Just found out we can target an input kinda thing in a class by
const XXX = document.querySelector(“.class input”);
It is a shock to me as I google the way for hours haha.
Wish it could save you time too.
#CodeNewbie#javascript
#JSnotes#100DaysOfCode
I like the new style of function in ES6, it makes code clean and easy to use, especially no need to retype "function" repeatedly.
LOVE JavaScript.