Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Why Is The Paragraph Text The Same Color As The Buttons?

Everything Was Great Until I Added Body Text To The Style Page, Now It's All The Same Color Except The Word (And) And The (Period) At The End Of The Newest Cupcakes Statement.

a {
color: #4FB69F;
text-decoration: none;
}
<p>This week's featured cupcake is the <a href="#">Avocado Chocolate Cupcake<a/>. It's strange combo of flavors will kick your taste buds into fiesta mode!</p> 

 <p>Our newest cupcakes are <a href="#">Bacon Me Crazy</a> and <a href="#">Jalapeno So Spicy</a>. </p>

[ed. note]: Added markdown to improve code formatting

5 Answers

Reverse engineer it... go backwards to the point it was displaying correctly. It might be a tag that isn't closed correctly.

James Barnett
James Barnett
39,199 Points

To add to Yamil's excellent advice on troubleshooting, I can confirm there is a tag that isn't closed correctly.

See if you can find spot the problem.

Everything Was Great Until I Added The Anchor Tag On The Style Sheet, Everything Is Closed And Opened Correctly.

James is right. Check your tags. I did not catch it at first but it's there. Happy Hunting :)

:link