Cant complete this module part: priortize one style over another

Tell us what’s happening:
Describe your issue in detail here.
wrote the code correctly but the Hello world color is not turning to pink.

  **Your code so far**

body {
  background-color: black;
  font-family: monospace;
  color: green;
    color= pink;
<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/90.0.4430.93 Safari/537.36.

Challenge: Prioritize One Style Over Another

Link to the challenge:

Hi @erinedwardgrg !

Welcome to the forum!

There are a few syntax issues so it would be best to reset the lesson.

First off, this is correct

But there are two issues here

You are not supposed to nest the pink-text class inside the body like this

This is a syntax error

The proper syntax is this

When you fix those errors then the test will pass.

Hope that makes sense!

1 Like

Why do you keep repeating solutions that were already given?

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