Here are the instructions for challenge 74:
By using the span element, you can put several elements together, and even style different parts of the same element differently.
Nest the word “love” in your “Things cats love” element below within a span element. Then give that span the class text-danger to make the text red.
Here’s how you would do this with the “Top 3 things cats hate” element:
<p>Top 3 things cats <span class = "text-danger">hate:</span></p>
Here is my code for the challenge and the result (see line 35):
I don’t understand the use of span in this challenge. It’s supposed to somehow effect the width I think? All it’s doing in this case is changing the color of the text to text-danger, which I could have done without using span.
Is there something here I’m missing?