+ 9

help me stuck in this code? [solved]

I'm trying to get the header h2 text to red using style but it is not happening. please tell me what is wrong? with this code where am I mistaken. https://code.sololearn.com/WHggbRMQlL08/?ref=app

27th May 2017, 6:39 PM
Lord Krishna
Lord Krishna - avatar
4 Respuestas
+ 7
There were a few issues with your code: - you forgot the quotation marks around the class name - in the style section was a typo - you are using style inside your html (wasn't the reason why it didn't work but it's not good practice) I fixed your code here: https://code.sololearn.com/WnDg20Pq875N/#html
27th May 2017, 6:49 PM
Thanh Le
Thanh Le - avatar
+ 5
Thanks for the help,will consider the tip.
27th May 2017, 6:52 PM
Lord Krishna
Lord Krishna - avatar
+ 3
issue solved apparently there was some minor error not changing the color now it works.
27th May 2017, 6:48 PM
Lord Krishna
Lord Krishna - avatar
+ 3
sure. if you think my answer was of any help, please consider marking it as the best answer. :)
27th May 2017, 7:06 PM
Thanh Le
Thanh Le - avatar