Override Class Declarations with Inline Styles-having trouble

Help !I’m stuck!

  **Your code so far**

<style>
body {
  background-color: black;
  font-family: monospace;
  color: green;
}
#orange-text {
  color: orange;
}
.pink-text {
  color: pink;
}
.blue-text {
  color: blue;
}
</style>
<h1 style='color: green;'>
<h1 id="orange-text" class="pink-text blue-text">Hello World!</h1>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Challenge: Override Class Declarations with Inline Styles

Link to the challenge:

Hi.
How to do Inline styling? →

<h2 style=" color:  red;"> i'm  a red sentence </h2> 
1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.