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 trialKararaina Hemara-Haeana
6,140 PointsBeginning HTML and CSS
Hi
I am currently completing task 3 of 3 for Beginning HTML and CSS.
I keep seeing this warning after clicking check work "Make sure you're coloring the h1 tag green", I have set the h1 tag to green and am wondering if it's a glitch in the system?
Regards, K
4 Answers
Dustin Matlock
33,856 PointsThere shouldn't be. I just passed with the code below.
<body>
<style>
h1 {
color: green;
}
</style>
<h1>
Nick Pettit
</h1>
</body>
<h1>Nick Pettit</h1>
Kararaina Hemara-Haeana
6,140 PointsOk, thanks for that :)
This is what I entered:
<body> <style> h1 { colour: green; } </style> <h1>Nick Pettit</h1> </body>
I tried entering additional info underneath the the </body> tag - it keeps saying error?
Dustin Matlock
33,856 PointsMost likely because you have to use color
instead of colour,
Kararaina Hemara-Haeana
6,140 PointsGot it, thanks! We spell it colour in Australasia.
Thanks again :)
Johanna Murch
4,514 PointsIt took me a few tries to realize I was spelling it colour instead of color as well >.< Glad you figured it out and can keep learning!
Kararaina Hemara-Haeana
6,140 PointsHehe, thanks Johanna! Good luck with your learning :)