+ 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
4 Antworten
+ 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
+ 5
Thanks for the help,will consider the tip.
+ 3
issue solved apparently there was some minor error not changing the color now it works.
+ 3
sure. if you think my answer was of any help, please consider marking it as the best answer. :)