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

JavaScript JavaScript Basics Working with Strings Variables and Strings Challenge

Champe Chilufya
Champe Chilufya
1,349 Points

How do I copy the line above down to the line below when using google java console, instead of typing the same line over

im using google and firefox console to practice my code but i keep having to type the entire line over when i make a mistake is there a way to bring the top line down and just edit it

3 Answers

please how can just pressing of up arrow key anable one to copy and paste or duplicate a code, Sufiyaan Harron?

Use CTRL/c to copy and CTRL/v to paste.