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) HTML: The Structural Foundation of Web Pages and Applications Anchor Tags

Michael Hay
Michael Hay
1,311 Points

The third paragraph has the: href="#top" command, however, the Fourth paragraph has the link embedded.

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Michael Hays Profile</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="styles.css"> <link href="https://fonts.googleapis.com/css?family=Muli%7CRoboto:400,300,500,700,900" rel="stylesheet"></head> <body>

<div class="main-nav">
    <ul class="nav">
      <li class="name">Michael Hay</li>
      <li><a href="#">Toronto</a></li>
      <li><a href="resume.html">Experience</a></li>
      <li><a href="#">Photos</a></li>
      <li><a href="#">Contact</a></li>

  <img src=http://placeimg.com/400/400/tech alt="Drawing of Jane Smith" class="profile-image">
   class="tag name">Hello, I’m Michael.
   class="tag location">My home is Toronto, Ontario.

<main class="flex">
  <div class="card">
    <p> I’m an aspiring web designer who loves everything about the web. I've lived in lots of different places and have worked in lots of different jobs. I’m excited to bring my life experience to the process of building fantastic looking websites. </p>
  <p> I’ve been a professional cook and gardener and am a life-long learner who's always interested in expanding my skills.</p>
<p><a href="#top" This is a third paragraph</a></p>
    <p>is is a fourth paragraph </p>
      <li>To learn more, <a href="resume.html">view my resume.</a></li>

  <div class="card">
    I want to master the process of building web sites and increase my knowledge, skills and abilities in:
    <ul class="skills">
    I’d like to work for a web design firm helping clients create an impressive online presence.

    <li><a href="#" class="social twitter">Twitter</a></li>
    <li><a href="#" class="social linkedin">LinkedIn</a></li>
    <li><a href="#" class="social github">Github</a></li>
  class="copyright">Copyright 2015, Jane Smith

</body> </html>

1 Answer

Jamie Reardon
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

Hi there, it looks like you are missing the syntax for the closing part of the anchor tag. See my example below and compare it with your paragraph

<a href="#">this is a link</a>
Michael Hay
Michael Hay
1,311 Points

I see, thanks very much for clearing this up for me! Much Gratitude!