Where would I need to add "markup"?

Tell us what’s happening:

this particular task: cannot figure where would . So I need to add : code should add one s tag to the markup.

Your code so far


<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><s>Google</s>Alphabet</h4>
    <p><em><s>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at Stanford University
    </s></strong>.</s></em></p>
  </div>
  <div class="cardLinks">
    <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a><br><br>
    <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
  </div>
</div>
</div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.

Challenge: Use the s Tag to Strikethrough Text

Link to the challenge:

The FCC directions tell you to do this:

Wrap the s tag around “Google” inside the h4 tag and then add the word “Alphabet” beside it,

The problem is here in your code

   <p><em><s>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at Stanford University
    </s></strong>.</s></em></p>

Remove the s tag inside the p tags.

Hope that helps!

Happy coding!

Hi Bond007,

Even though you got the “Google” in the H4 tag struckout :slight_smile: your run test failed because you added 2 </s> tags and 1 <s> inside the <p> tags.

The run test will fail if you accidentally add extra tags or make changes not in the instructions.

Regards Martin

1 Like

make sence. Thank you. I have realised later.