I need help, my styling isnt working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I need help, my styling isnt working

My css code for styling 《input[type=number]》 doesnt work, I'll be glad if anyone can explain why and how to correct it. https://code.sololearn.com/Wg0CTkZP7LWk/?ref=app Thanks

12th Dec 2022, 8:37 AM
Roland Chiemezie
Roland Chiemezie - avatar
5 Answers
+ 4
<input> element at line 50 has its 'type' attribute set to 'text' not 'number'
12th Dec 2022, 9:11 AM
Ipang
+ 4
Remove space between 'input' and '[type="number"]'
12th Dec 2022, 8:58 AM
Ipang
+ 2
You have to recorrect the num variable..so that it will work and remove the comment tag Then you have to declare num
13th Dec 2022, 6:20 AM
Soumya Ranjan Behera
Soumya Ranjan Behera - avatar
+ 1
I just did, still no change
12th Dec 2022, 9:06 AM
Roland Chiemezie
Roland Chiemezie - avatar
+ 1
Ooh thought I changed it Thanks a lot
12th Dec 2022, 9:14 AM
Roland Chiemezie
Roland Chiemezie - avatar