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 Introduction to HTML and CSS (2016) Getting Familiar with HTML and CSS Test: Changing the Look of a Web Page

Don't have a clue?

I am looking at the html example, but don't have a clue how to complete this question.

index.html
<!doctype html>
<html>
  <head>
    <link href="styles.css" rel="stylesheet">
  </head>
  <body>

    <p>Welcome to My Web Page!</p>

  </body>
</html>
styles.css

What was the question? I looked at the challenge and part one wanted you to change the <p> tags to <h1> and part 2 wants you to add the CSS code in the other file to make h1 elements purple?

1 Answer

Steven Parker
Steven Parker
231,269 Points

The first task in particular is rather simple. Just edit the <p> and </p> tags to be <h1> and </h1>.

The second one requires you to write a little CSS, and put it in the other file (which starts out empty). If you're not sure how to create the CSS, you might try re-watching the videos that precede the challenge.