HTML Introduction to HTML and CSS Make It Beautiful With CSS Test: Styling by Element and Class

Bandar Jamous
PRO
Bandar Jamous
Pro Student 175 Points

HTML Help

I dont understand what to do here or what's wrong.Can anyone help? I dont even know how to explain the problem thats why

index.html
<!doctype html>
<html>
  <head>
    <link href="styles.css" rel="stylesheet">
  </head>
  <body>

    <p class="My amazing website"></p>

  </body>
</html>
styles.css

1 Answer

Jiten Mehta
Jiten Mehta
Front End Web Development Techdegree Student 7,929 Points

Hey Bandar, try this...

<!doctype html>
<html>
  <head>
    <link href="styles.css" rel="stylesheet">
  </head>
  <body>

    <p class="main-pg"></p>

  </body>
</html>

The challenge is asking you to change the class name to main-pg. The class name is an attribute of the <p> tag.