Welcome to the Treehouse Community
Looking to learn something new?
h2 tags not working
Hi! Sorry, I know this is my second post today, and I'm sure it's an easy fix, but I can't get it to work.
<h2>Get Bakin' With Us</h2>
That is the correct code, right? Well for some reason it won't display correctly. I think that there is something in my code that is canceling it out, but I don't know what. If you could look at my code and see what's up, I'd greatly appreciate it. Thanks!
Source code: http://d.pr/f/NHQ1
<div> tag right above that
<h2> is not closed with its
<div class="grid_5 omega"
It should be:
<div class="grid_5 omega">
A couple questions. Wheres your style sheet? I see the normalize and the grids but wheres your styles and what is it your trying to do with the h2 tags?
You need to place closing brackets on the opening div tags for the two divs containing those h2 tags.
ex. <div class="grid_7" needs a closing > braket.
@James Sure, I'll do that. I just didn't know I should :(
@Kris I don't have one. I am just going through the course right now. And as far as I know, I do have closing brackets. They just come much later, because the course wanted me to. My h2 tags are to create a level-two header. It isn't, and I'm wondering why.
Oh, I get what you are saying. Thanks!
Yeah > is a closing braket to a tag. </div> is a closing div tag.
Always look for those simple mistakes first as they are the most common.