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 trialJoseph Powell
918 PointsUse 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!
Alisha Trigatti
5,828 PointsGreat tip!
Nathan Olson
2,136 PointsNathan Olson
2,136 PointsSimilar to the Ctrl + D(duplicate) shortcut in Adobe Illustrator. Works great!