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 trialEthan Cheong
5,058 PointsIt is not in the middle.....
it is not in the middle
3 Answers
kathrynpeterson
16,001 PointsSince your code is not posted here, I can't tell exactly what the problem is. However, I can make a couple of suggestions. If you look below the video window, there is a tab for questions with a number. If you click on that tab, you can see questions others have had and the answers that were given. You may very well find the solution to your difficulty there. Failing that, go carefully over your code and make sure you haven't forgotten any syntax elements, like closing brackets and the like. Often, that's the problem. It may even be in some prior line of code, so be aware of that. Good luck!
Rebecca Heberer
352 PointsYou have to write id="logo" instead of id:"logo" . So change : to =.
kathrynpeterson
16,001 PointsYou spotted the obvious that the rest of us overlooked, at least, in the latest entry above, by Bernie. Bravo!
BERNIE MORELAND
516 PointsThanks. Very helpful. I overlooked that.
John Steer-Fowler
Courses Plus Student 11,734 PointsHi Ethan,
Like Kathryn said, it would help us if we could see your code.
Would you be able to paste your code into an answer on this thread and I will take a look for you.
From the information you have provided so far I am unable to help any further.
BERNIE MORELAND
516 PointsBERNIE MORELAND
516 PointsMine isn't either.
Here's the index.html code...
<body> <header> <a href="index.html" id:"logo"> <h1>Bernie Moreland</h1> <h2>Expert Cupcake Baker</h2>
</a>
Here's my CSS code... #logo { text-align: center; margin: 0; }
I have checked and rechecked. Nick's and mine are the same.