Tell us what’s happening:
Describe your issue in detail here.
**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>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/92.0.4515.131 Safari/537.36 Edg/92.0.902.73
Challenge: Use the s Tag to Strikethrough Text
Link to the challenge:
Hello there.
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
Learning to describe problems is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.
1 Like
Use the s Tag to Strikethrough Text
To strikethrough text, which is when a horizontal line cuts across the characters, you can use the s
tag. It shows that a section of text is no longer valid. With the s
tag, the browser applies the CSS of text-decoration: line-through;
to the element.
Wrap the s
tag around Google
inside the h4
tag and then add the word Alphabet
beside it, which should not have the strikethrough formatting.
Can you use your words to explain the difficulty that you are having. What is going wrong?
it says A s
tag should wrap around the Google
text in the h4
tag. It should not contain the word Alphabet
and at the same time
it says You should include the word Alphabet
in the h4
tag, without strikethrough formatting. or if you don’t understand please go to the challenge the everything will be clear
Sorry for bothering
zaklina
September 6, 2021, 11:16pm
9
The HTML element renders text with a strikethrough, or a line through it. Use the element to represent things that are no longer relevant or no longer accurate. However, is not appropriate when indicating document edits; for that, use the and ...
this explains :
A s
tag should wrap around the Google
text in the h4
tag. It should not contain the word Alphabet
Hi @Ahmed_Surchi_001 !
I think you misunderstood the instructions so I would reset the lesson.
Here are the first part of the instructions.
Wrap the s
tag around Google
inside the h4
tag
This is the h4 tag
Ahmed_Surchi_001:
<h4>Google</h4>
You are supposed to make changes there and no where else in the code.
Here are the last part of the instructions.
and then add the word Alphabet
beside it, which should not have the strikethrough formatting.
Only the word Google should have the strikethrough.
Add the word Alphabet next to it.
If you are successful, then it should look like this in the preview window.
Hope that makes sense!
2 Likes
system
Closed
March 8, 2022, 10:21pm
12
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.