+ 1
You forgot a ";" after your call to RGB function line 6. By the way you didn't declare a function RGB.
+ 1
you are trying to edit "box" position but I don't see any "box" id in you html and I also don't see any code to get "box" id in you javascript.
+ 1
can you update your code on Sololearn that way we can see your progress.
0
That's better if you copy your code inside Sololearn's IDE and share the link of your code, that way the presentation is more readable :)