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

Avery Pierce
Avery Pierce
1,797 Points

can anyone help me correct this code?

Not sure how to correctly type this code. can anyone give me instructions or the correct code? Thank you!

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

    <p class="main-pg" border: >My amazing website</p>

  </body>
</html>
styles.css
.main-pg{
}
Marvin Ramirez
Marvin Ramirez
12,964 Points

After looking at the challenge all you need to do is add to the css sheet

p { border: ....; }

1 Answer

Tek Dhakal
Tek Dhakal
6,516 Points

border: solid red 4px; goes in the css file. Thus, you should delete "border" from your <p>. Everything looks great!