Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Introduction to HTML and CSS HTML: The Structural Foundation of Web Pages and Applications Anchor Tags

Crystal Maza
Crystal Maza
2,567 Points

My tags aren't making a clickable link.

I've put my tags onto line 32 but when I refresh it won't make it a clickable link. I'm obviously missing something but I've looked it over a million times and it matches the one in the video. What should I do?

Can you post your code?

Crystal Maza
Crystal Maza
2,567 Points
<!doctype html>
<html lang="en">
  <meta charset="utf-8">
  <title>Crystal Maza's 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>

    <div class="main-nav">
        <ul class="nav">
          <li class="name">Jane Smith</li>
          <li><a href="#">Home</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/people" alt="Drawing of Jane Smith" class="profile-image">
      <h1 class="tag name">Hello, I’m Crystal.</h1>
      <p class="tag location">My home is Wilmington, North Carolina.</p>

    <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>This is a third paragraph.</a></p>
        <p>This is a fourth paragraph.</p>

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

        <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>
      <p class="copyright">Copyright 2015, Jane Smith</p>

Moderator Edit: Added markdown to the code to make it more readable in the Community. Please, when posting code, refer to the Markdown Cheatsheet (Link above the Post button), or have a look at the Markdown Basics course here on Treehouse.

Crystal Maza
Crystal Maza
2,567 Points

I'm wondering if somehow I accidentally erased something important.

2 Answers

Steven Parker
Steven Parker
218,861 Points

Without Markdown formatting, I'm not sure which line is 32; but I noticed this anchor element, which may be what you are referring to:

<a>This is a third paragraph.</a>

Anchors only act as links when you add an "href" attribute. You can see examples of this in your navigation area for "Home", "Experience", "Contact", etc. Those are already working as links.

Crystal Maza
Crystal Maza
2,567 Points

Thank you so much!! I fixed it.

Steven Parker
Steven Parker
218,861 Points

Crystal Maza — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!

Steven is correct - don't forget to add an 'href=' to anchor tags!