Why is the pink part of the code not working? Im trying to get the first sentence shown as pink but it is showing as black. question 2 The following is an example of the square cube of a number: If x = 4, x3 is 64
Why is the pink part of the code not working? Im trying to get the first sentence shown as pink but it is showing as black.
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>question 2</title>
<style>
.strikethrough {
text-decoration: line-through;
}
.underline-green {
text-decoration: underline;
color: green;
}
p {
margin: 0;
padding: 0;
}
.pink-text {
color: salmonpink;
}
.blue-text {
color: dodgerblue;
}
</style>
</head>
<body>
<p class="pink-text">The following is an example of the <span class="strikethrough">square</span> <span class="underline-green">cube</span> of a number:</p>
<br>
<p class="blue-text">If x = 4, x<sup>3</sup> is 64</p>
</body>
</html>
![](/static/compass_v2/shared-icons/check-mark.png)
In this question we have to understand and fix the HTML code where a class with pink text is not working.
Let's understand and hope this helps, If you have any queries please utilize threaded question feature.
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)