+ 3
My new programm for Choose colors!
3 ответов
+ 3
um hello nice code but if u remove the setInterval() and put an oninput attribute to <input type="color"> its gonna be better and less spaghetti so just rectify it to be <input type="color" oninput="col()"> and remove the setInterval() btw u dont need semicolons in javascript
+ 3
thanks @cheeze and @Netkos Ent 👍😀😃 :)
0
Agreed with Cheeze. I would put it on the input so it updates as you change the input, rather than having to wait and use up unnecessary resources in the process.
Although semicolons aren't necessary, still good practice. ;)