Why won't my code work anymore | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why won't my code work anymore

I usually use CSS to make my text centered but it has stopped working. Why? (I use this) P1{ Color: cyan; Text-align: center; Font size: 35px; }

14th Sep 2018, 1:03 AM
Joshua Wilson
Joshua Wilson - avatar
5 Answers
+ 4
Your syntax is very wrong. It should be in lower cases: p1{ color: cyan; text-align: center; font-size: 35px; }
14th Sep 2018, 3:33 AM
Email Not Activated
+ 3
share the code
14th Sep 2018, 3:33 AM
Yash
Yash - avatar
+ 3
Your example above are not.
14th Sep 2018, 10:51 AM
Email Not Activated
14th Sep 2018, 10:38 AM
Joshua Wilson
Joshua Wilson - avatar
- 1
Sleepy Koala the code i just shared are in lowercase
14th Sep 2018, 11:06 AM
Joshua Wilson
Joshua Wilson - avatar