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 trialCyndy Lewis
2,128 Points"A New Subsection" is indented
I'm not sure why, and I'm sure it's probably something silly... I'm following along with this video in my workspace and I'm not seeing anything different from what I've done compared to Treasure, but my "A New Subsection" is indented. What am I missing?
Video: https://teamtreehouse.com/library/select-and-style-by-element
My HTML:
<main class="flex">
<div class="card">
<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>
<ul>
<li>To learn more, <a href="resume.html">view my resume.</a></li>
</ul>
<h3>A New Subsection</h3>
Cyndy Lewis
2,128 Pointsbehar
Sorry! Can you tell I'm new here? I've added it to my original question. I was thinking it would post my question under the video.
1 Answer
behar
10,799 PointsHey again Cyndy! Glad that youve decided to join us! The issue with your code, and why the <h3> is indented is because you have forgotten to close your first <ul>. And so the <h3> is being displayed as a part of that unordered list. So after your unordered list include a </ul>. Hope this helps!
Cyndy Lewis
2,128 PointsAh-ha! I knew it would be something simple! Thanks so much!
behar
10,799 Pointsbehar
10,799 PointsCan you please link what video your on? Its kind of difficult to help when we dont know what your reffering to.