H1 Element should be Pink, Help please?

Tell us what’s happening:

Your code so far


<style>
body {
  background-color: black;
  font-family: monospace;
  color: green;
}


.pink-text {
 color: pink; 
}
</style>
<h1 class:"pink-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/87.0.4280.141 Safari/537.36.

Challenge: Prioritize One Style Over Another

Link to the challenge:

Hi @islandgworlwhocodes!

Syntax error here

Example of a class from the w3 schools article
<div class="city">

1 Like

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