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) Make It Beautiful With CSS Select and Style by Element

Daniel Pagac
Daniel Pagac
812 Points

I cannot get the <h3>New Subsection</h3> to appear beneath the <h2>Background</h2>. Appears in middle of page.

Instead, it appears at the middle of the page between the Background and Goals section. Whether or not I use a <div> tag to separate the two headings doesn't change the outcome. Here is my code:

         <h2>Background</h2>
        <ul>
        <li>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.</li>
          .<li> I’m excited to bring my life experience to the process of building fantastic looking websites.</li>
        <li>I’ve been a professional cook and gardener and am a life-long learner who's always interested in expanding my skills.</li>
         <li>Fourth list item.</li>
        </div>
        <div>
        <h3>A New Subsection</h3>
        </div>

    Thanks!

3 Answers

Steven Parker
Steven Parker
231,269 Points

After the last list item there is a closing div tag ("</div>") but it should be a closing tag for the unordered list instead ("</ul>").

For future questions, be sure to use Markdown formatting to properly display any code.

Daniel Pagac
Daniel Pagac
812 Points

Thanks for the help. That fixed the issue. However, now all sections, <h2>Background</h2>, <h3>New Subsection</h3>, and <h2>Goals</h2> Now display in a single column as opposed to Goals being on the right hand side of the page. Thanks for the information regarding Markdown formatting. I'll have to learn about that now as well. :) I'm very new to this and I am learning a great deal on the fly. I don't like the Workspace text editor nearly as much as Video Studio Code.

Daniel Pagac
Daniel Pagac
812 Points

Steven, never mind. I found where the missing </div> tag was. I'm back on track. Your reply was quick and helpful. Scanning code is like learning a new language. :)