CHALLENGE: Applied Visual Design: Create a Horizontal Line Using the hr Element problem

WHAT’S HAPPENING
I can’t seem to understand this its keeps saying incorrect do you guys know?

MY CODE:

<style>
h4 {
  text-align: center;
  height: 25px;
}
p {
  text-align: justify;
}
.links {
  text-align: left;
  color: black;
}
.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
}
.cardContent {
  padding: 10px;
}
.cardText {
  margin-bottom: 30px;
}
</style>
<div class="fullCard">
<div class="cardContent">
  <div class="cardText">
    
    <h4><del>Google</del>Alphabet</h4>
  <hr>
    
    <em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p></em> <hr>
  </div>
  <div class="cardLinks">
</div>
</div>
</div>
```html

<style>
h4 {
  text-align: center;
  height: 25px;
}
p {
  text-align: justify;
}
.links {
  text-align: left;
  color: black;
}
.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
}
.cardContent {
  padding: 10px;
}
.cardText {
  margin-bottom: 30px;
}
</style>
<div class="fullCard">
<div class="cardContent">
  <div class="cardText">
    
    <h4><del>Google</del>Alphabet</h4>
  <hr>
    
    <em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p></em> <hr>
  </div>
  <div class="cardLinks">
  
  </div>
</div>
</div>

My browser info:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13020.87.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36.

Challenge: Create a Horizontal Line Using the hr Element

THE LINK TO CHALLENGE:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Hello and welcome to the FCC community~!

It looks like you’ve made other changes to the code. I recommend hitting the “Reset Lesson” button, selecting “Reset All Code”, and then proceeding with the challenge instructions. :slight_smile:

Thank you for the help i completed the lesson :+1::+1::+1:

1 Like

Nice work! Happy coding! :slight_smile: