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 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
215,954 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. :)