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 trial

CSS How to Make a Website Beginning HTML and CSS Review: Beginning HTML and CSS

i have done this over 500 hundred times witch it feels like and got all right and it keeps making me redo it

please help

2 Answers

Jeff Lemay
Jeff Lemay
14,268 Points

Quiz worked fine for me. After completing, I was taken to the "How to Make a Website" overview page.

OK - let's try to get you through this with some help.

I'm sure the question for this challege come in a different order each time, and I don't know which question you're struggling with - so I'll just run through the questions as I get to them here.

My first one is:

Which of the following HTML elements will create a first level headline?

A first level headline is a Heading 1. That's written as an h1 in code. The code elements in HTML are surrounded with angle brackets like < and > and easch element is opened and closed. The closing brackets use a slash, /, to indicate that it is closing that element. So, a heading 1 open and close looks like:

<h1></h1>

The question wants a complete heading line with the text being 'Nick'. That would look like:

<h1>Nick</h1>

My next qiestion (they will appear in different orders) is asking what CSS property will change the text colour of the element it is applied to. The answeer to that is color - there's not much more explanation needed there!

The question I get next is asking which html element formatted correctly. It is using the same code as the first question so it is looking for an opening h1 tag:

<h1>

Followed by the heading text:

<h1>Nick

And that needs closing with the slash tag:

<h1>Nick</h1>

The next question is asking what symbol or character opens and closes tags. The answer to that is the angle brackets < and >.

Now I'm asked what opens and closes CSS code elements. The answer to that is the curly braces { and }.

The next question asks what Treehouse tool allows you to enter code. That's called Workspaces.

The last question is looking at a bit of CSS code that changes the text in the h1 element to a green colour. As above, the color property is used to change the text colour and CSS code is surrounded by curly braces. CSS selects the element to be changed first, so the h1 is the first part of the code. Adding those together gives you the h1 first, then some curly braces and then the color property and the word green. Chuck in a colon after color and a semi-colon at the end of the color line and your done, apart from the closing curly brace:

h1 { 
    color: green;
}

Those are the questions I had to answer.

I hope this helps you through - if not, just shout and I'll help further.

Steve.