+ 4
HOW TO HOOK UP AN INPUT TO THE BACKGROUND COLOR WITH JAVASCRIPT
5 odpowiedzi
+ 3
//Here you go
https://code.sololearn.com/WzeHrAryE9rk/?ref=app
+ 4
Shudarshan Rai 👑
Doesn't work for me 😕😑
The submit button only changes the background at the very first time, after that it randomly works or not? What's wrong with my mobile? The code should work.
1. Shouldn't it be "0-255" instead of "1-225"
2. and "backgroundColor" instead of "background"
+ 4
I put a reset button on mine Peter Wright
+ 4
And it isnt rgb it is hex. ODLNT told me