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 Write an HTML Element

Kajsa Albertsson
Kajsa Albertsson
191 Points

I have a problem making the same shortcuts. Even when I change the keyboard to us or uk the shortcuts doesn't work?

<h1>Kajsa</h1>

index.html
<h1

Hi Kajsa,

Are you working on a PC or Mac and what shortcut do you need just so I can give any examples that may be needed?

Thanks

-Rich

Kajsa Albertsson
Kajsa Albertsson
191 Points

Im trying to write this with shortcuts on a mac <h1></h1>

Kajsa Albertsson
Kajsa Albertsson
191 Points

Im trying the closure code on the tag above...

3 Answers

Hi,

On a Mac or PC the > symbol can usually be found above the full stop / period.

So Shift(possibly displayed as an upwards arrow) and . are the keys that would be used to generate > (next to the < symbol you have already created).

Hope that helps.

-Rich

Kajsa Albertsson
Kajsa Albertsson
191 Points

Thats the problem. I only get >_ while using the correct shortcut. It would be annoying to have to type every key separately. Maybe there is something wrong with my keyboard.

Hi Kajsa,

Sorry if I'm misunderstanding but not sure I follow. To generate the below you would normally have to type shift, comma, h, 1, shift, full stop:

<h1>

The same would go for any other tags (replacing the h and 1 appropriately). Is that what you mean?

-Rich

Kajsa Albertsson
Kajsa Albertsson
191 Points

My problem comes after I have written <h1> and I'm trying to write the closing tag by using shift + . To get the closing tab </h1> It doesn't work. By writing shift + . I get (even trying out different keyboards) SWE: ;? US: <_ UK:>_

Its very annoying to have to write </h1> separately every time as the keyboards not work as the instruction video says :(

Kajsa