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 How to Make a Website Creating HTML Content Add Image Gallery Content

Joseph Powell
Joseph Powell
918 Points

Use ctrl + D to duplicate your selection.

In the video, Nick asks you to use ctrl + C when using Windows, to copy your selection and paste it multiple times. You can also use ctrl + D to duplicate your selection. Holding ctrl, press D and the duplicated selection will be placed directly under your original selection. While holding ctrl, press D as many times as you need without needing the mouse or directional/cursor movement keys.

HINT: in this case, each line with script requiring duplication will need to be highlighted in it's entirety in order to retain it's form when being duplicated. (run on sentence, rewrite or explain it more clearly to receive a virtual high five)

Shortcuts are awesome!

Nathan Olson
Nathan Olson
2,136 Points

Similar to the Ctrl + D(duplicate) shortcut in Adobe Illustrator. Works great!

Great tip!