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

How can I correct my paragraphs? I would like to change them back to original style as two different sections.

when I run the code, it shows "Background" and "Goals" within a subsection. How do I separate them, not vertically as it is now but horizontally

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Jane Smith'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> <body>

<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>
    </ul>
</div>

<header>
  <img src="images/me.png" alt="Drawing of Jane Smith" class="profile-image">
  <h1 class="tag name">Hello, I’m Yessy.</h1>
  <p class="tag location">My home is Seattle, WA.</p>
</header>

<main class="flex">
  <div class="card">
    <h2 class="card-title">Background</h2>

    <p>I’m an aspiring software developer who is passionate about programming languages. 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>
    <ul>
      <li>To learn more, <a href="Resume.html">view my resume.</a></li>
    </ul>
    <h3>A New Subsection</h3>
    <div>

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

</main>
<footer>
  <ul>
    <p><a href="#" class="social twitter">Twitter</a></p>
    <p><a href="#" class="social linkedin">LinkedIn</a></p>
    <p><a href="#" class="social github">Github</a></p>
  </ul>
  <p class="copyright">Copyright 2015, Jane Smith</p>
</footer>
</body>

</html>

1 Answer

Cameron Childres
Cameron Childres
11,818 Points

Hi Yessenia,

In the div containing "background" the closing tag is missing a slash -- rewriting the closing tag to look like </div> will properly close out that section.