Use the s Tag to Strikethrough Text help

Tell us what’s happening:
Cant get the lesson to solve, even tho i think ive solved it.

Your code so far
My solution below - isnt this correct?

<h4>Alphapet <s>Google</s></h4>
  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;

<div class="fullCard">
  <div class="cardContent">
    <div class="cardText">
      <h4>Alphapet <s>Google</s></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 class="cardLinks">
      <a href="" target="_blank" class="links">Larry Page</a><br><br>
      <a href="" target="_blank" class="links">Sergey Brin</a>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0.

Link to the challenge:


The result seems right, but you have to show the HTML part in order for me to help

wasnt sure how to post the html, so i did some - to make the code invalid

< -h4>Alphapet <-s>Google<-/s>

Do you have the </h4> Tag? Maybe that’s what’s making it fussy.

You post code on here by using three ` before and after the code you want to post.

<h4>Alphapet <s>Google</s></h4>

And the error i get is

// running tests
Include the word Alphabet in the h4 tag, without strikethrough formatting.
// tests completed

Oh! Alphabet is misspelled.

1 Like

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 easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


1 Like

Thanks! greatful and ashamed at the same time! :wink:

No worries. Don’t feel bad, I’ve done the same thing in my coding challenges. Hav a good one!