+ 1
Working on app but not browser
I updated my code here and itâs working on my phone but on the browser it isnât working. When I click on âcolorâ I lose everything, can someone explain to me whatâs going on? https://sololearn.com/compiler-playground/Wk8HrWduxZRT/?ref=app
1 Answer
+ 4
html:
form is not closed
js:
const everywhere; why?
fixing these won't change the behavior.
+1 note:
you are asking for a hex color, but what if user enters invalid data? or enters a # symbol as well? or if forgets to add # at the beginning?