+ 3

Help! What did I wrong?

var COLOR_RED = #F00; document.write(<br>COLOR_RED</br>) This code doesn't work. Why?

15th May 2019, 12:18 PM
Anastasiia Kudria
Anastasiia Kudria - avatar
3 Réponses
+ 2
Thanks 💜
15th May 2019, 12:21 PM
Anastasiia Kudria
Anastasiia Kudria - avatar
+ 2
Do u mean if I want to display any color, I need put quotes?
15th May 2019, 12:27 PM
Anastasiia Kudria
Anastasiia Kudria - avatar
+ 2
OK. Thanks for answering. U have helped me! It's true, I see that I'm bad in HTML, CSS
15th May 2019, 12:35 PM
Anastasiia Kudria
Anastasiia Kudria - avatar