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

I don't know how resolve this task of code Change the HTML paragraph tag to an h1 tag

Change the HTML paragraph tag to an h1 tag whet

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;
}

when they asked me this question change the HTML paragraph tag to an h1 tag i don't know how to resolve this one if you can help me to understand this because its not letting me to go back and watch again video

4 Answers

Hi HAFIZ, You need to change the p tag "<p></p>". See my example below.

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

    <h3>Welcome to My Web Page!</h3> <!---using h3 as an example--->

  </body>
</html>
Mike Schaming
Mike Schaming
13,925 Points

Hi! currently your html has a <p> tag. The challenge wants you to change the paragraph <p>Welcome to My Web Page!</p> to a h1 headline using <h1> tags. If you replace your paragraph tags with the h1 tags, it should work. Best of luck!

hector alvarado
hector alvarado
15,796 Points

Need to remove <p> and use <h1> instead.

Thanks all of you let me I will try now.