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

Charlie Walker
Charlie Walker
115 Points

Whaaaaaaaaa?????

What do I actually need to do and how????????

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
h1 {
  color: blue;
}

2 Answers

Ray Karyshyn
Ray Karyshyn
13,443 Points

Well as you know, the challenge wants you to "change the HTML paragraph tag to an h1 tag."

The HTML paragraph tag looks like -> <p>

The challenge simply wants you to change the p's to h1's. This way the color of the text will change to blue, as defined by the CSS.

Abbey Tipton
Abbey Tipton
16,846 Points

An h1 tag is a heading tag. It makes text bigger and bolder than other text on the page. h1 tags should only appear once on a page, as they are typically a title or the largest part of your website. There are also h2, h3, h4, h5, and h6 tags, which go down in size as the number increases.

P tags are paragraph tags. You surround a paragraph of text inside them.

This challenge is asking you to change the p tags to h1 tags. You need an opening and closing tag for both a p and an h1, so all you need to change is the letter p in each tag to h1. I hope that helps!