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

I completed a task and the prompt said well done, next task, and it sent me back to what I had completed.

stuck in a loop?

index.html
<style>
  h1
  {
    color: blue;
  }
</style>

<h1>Nick Pettit</h1>

2 Answers

Jonathan Walz
Jonathan Walz
21,429 Points

Code challenges retain the code you enter. Does the "Challenge task" change from 2 to 3? You may try a hard refresh of the page. (cmd + shift + R). This reloads the cache.

Once you entered your code and clicked the button to check your work, It congratulated you on that task completed. The code that you entered (as shown above) is task 1 of 3. You then have to click the button above the work area that reads "Next Task". This will take you to the next task (Task 2) which will ask you to add some CSS code: "Now, write CSS that will select the h1. Don’t forget your curly braces!"

The code that you enter into your work area will be retained for each task: You will notice at the top of your page that the following message appears in light gray: Important: The code you write in each task should be added to the code written in the previous task.

This code challenge will have you add code to the work area for three tasks. When you click the check work button on the third task, it will take you to a quiz.

Make sure and read the text above the work area. It will show you the progression. Challenge task 1 of 3, 2 of 3, 3 of 3.....