A s tag should wrap around the Google text in the h4 tag. It should not contain the word Alphabet.... what does it try to mean

Tell us what’s happening:

  **Your code so far**

<style>
h4 {
  text-align: center;
  height: 25px;
  text-decoration: line-through;
}
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><s>Google</s> 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36.

Challenge: Use the s Tag to Strikethrough Text

Link to the challenge:

Hi @Rabbkhan !

Welcome to the forum!

I would suggest resetting the lesson because the s tag is in the wrong place.

FCC instructions:
Wrap the s tag around Google inside the h4 tag

This is the h4 tag

Inside there you need to wrap the word Google in the s tag.
You did that here

but it was in the wrong place. You put it in the p tag when it is supposed to be in the h4 tag.

Last part of instructions:
then add the word Alphabet beside it, which should not have the strikethrough formatting.

Add that word next to google. It should not be in the s tags.

Hope that makes sense.

Hi, I’ve done like you said in the first place but it is still wrong

  <h4><s>Google<s/>Alphabet</h4>

Any tips please?

This is what it shows wrong
X Your code should add one s tag to the markup. -
X A s tag should wrap around the Google text in the h4 tag. It should not contain the word Alphabet .

@j.andrejszyn, you are not closing the element correctly. That is, <s/> is not the correct way to close an element.

In the future,

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Ok I’ve changed the browser and it worked

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