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 How to Make a Website Beginning HTML and CSS Write a CSS Selector and Property

Marc Balestreri
Marc Balestreri
8,211 Points

Simple Task not being check properly by checker?

I submitted my style tag and when the checker checks my work, it gives me a 'Bummer? Don't forget the style tag error' even though the style tag is clearly in the code. How do I fix code checker?

James Barnett
James Barnett
39,199 Points

Hi Marc Balestreri -

If you can post your code that you've tried then someone can take a look at it.

2 Answers

idan ben yair
idan ben yair
10,288 Points

Hi Marc, double check if you closed the tag, and if you did close is did you close it correctly.

So many times I faced the issue of a missing forward slash in my closing tag, so for example if you are trying to create a 'p' tag:

<p>this is my paragraph</p>
<!-- make sure you have an opening tag and a closing tag and that all of the correct content is with in the right tag -->

Let me know if that helped :)

Marc Balestreri
Marc Balestreri
8,211 Points

Hi, the error at the time was that the style tag was not within the body tag. Which led the code checker to give me that response. The style tag still worked - both inside and outside of the body tag - when you run the code and view the page, just that the checker didn't like that.