The h1 element color should change to pink but it isn't

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

body {
  background-color: black;
  font-family: monospace;
  color: green;

.pink-text {
  color: pink;

<h1 class: "pink-text">Hello World!</h1>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; Infinix X604) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36

Challenge: Prioritize One Style Over Another

Link to the challenge:

Hi @eoonayemi !
Welcome to the forum!

This is not the correct way to add a class to an html element.

Here is the lesson on how to add classes to an html element.

Once you make that small change, then the test will pass.

Hope that helps!

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