I am unable to understand.How to do this challange?

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<style>
h4 {
  <p><s>Alphabate</p></s>
  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>Google</h4>
    <p><em>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</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 (Linux; Android 8.1.0; Lenovo TB-X304L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.66 Safari/537.36

Challenge: Use the s Tag to Strikethrough Text

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/use-the-s-tag-to-strikethrough-textstrong text

The following line of code shouldn’t be in your CSS. It’s nesting is also incorrect.

<p><s>Alphabate</p></s>

You have to place it in the HTML portion at the right place and properly nested as described by the challenge.

I have understood it and I have completed that challange.

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