The only problem I have now is that after running the code it keeps saying, my h1 element should have the inline style of color: white.
Tell us what’s happening:
**Your code so far**
<h1 style:"color-white" id="orange-text"class="pink-text
**Your browser information:**
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36.
Challenge: Override All Other Styles by using Important
Link to the challenge:
Style is an attribute just like id or class it follows the same pattern. You didn’t write it correctly.
There seems to be a problem on the sintaxis on how you are declaring the inline CSS style.
Take a look at this article on how to declare Inline CSS styles:
Inline CSS Guide – How to Style an HTML Tag Directly
Then give another try, it’s all part of the journey. Keep going!
thanks for your response but i am still stuck even after applying what was suggested.
can you write out the correct form for me to see?
thanks in anticipation.
<p>blue-text" style:“color-white; font-size=20px”;</p>
I have gotten it! Thanks to you all.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.