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

HTML HTML Basics Getting Started with HTML Headings and Paragraphs

How was the instructor able to copy one line and get multiple heading numbers (2-6)? At approx. 3:50 of video.

What quick key was used to accomplish this?

5 Answers

He likely had that saved to his clipboard and pasted it in when needed. There is no default shortcut that does what he did in the video.

Ok, thanks!

Just practice what they are teaching and some very basic wordperfect keys. Good luck!

you can also learn on your own by trying different keys in which will help you move, cut or paste.

Ok, thanks Juan : ) I know basic cmd keys, but just learned about cmd + ] for indentation from the vid, which was really helpful! Do you recommend any site for coding quick keys?

With copy and paste, there is no "shortcut" for that, except you create a function in Atom Editor for it. But usualy you should only use once the <h1> header because of SEO (Search Engine Optimization aka Google).