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 trialDave Welch
417 PointsI've added curly brackets to the coding but I am still getting the challenge incorrect. What am I missing?
On challenge task 2 of 3. It ask me to write CSS. And then it tells me not to forget my curly brackets. I added the brackets several times only to get the same outcome. Am I missing a step?
1 Answer
Ken Alger
Treehouse TeacherDave;
At the end of Task 1, your code should look similar to:
<body>
<style>
</style>
<h1>Nick Pettit</h1>
</body>
Task 2 is to: Now, write CSS that will select the h1. Donβt forget your curly braces!
To select the <h1>
tag in CSS we would write it like "h1 {}
", correct? That statement needs to go between the <style>
tags, so your final code would look like:
<body>
<style>
h1 {}
</style>
<h1>Nick Pettit</h1>
</body>
Does that make any sense?
Ken
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherDave;
Welcome to Treehouse!
Please post your code here in the forum (see here for steps on how to properly post your code) and it will greatly help in providing the best answer to your questions.
Thanks,
Ken