If you'd like to print any code you are working on it the CodeHS editor, click More> Print on the right side. Then click the Print button to print your code. A new page will open up, with nicely formatted code and a pop up a dialog to print it out.
When printing code on CodeHS, the printed page includes your name, and the course and module that the program is from. In some situations, it is beneficial to remove personal information from the printed page.
To remove your name from the printed code:
In the code editor, click More> Print on the right side
Close the print dialog
Right click> Inspect
In the element tab in the console, press the triangle to the left of the the <body> tag to expand it
Then right click on <div class=”header”>and delete the element
Close the Inspect page
At the top of the page, in the toolbar, click File>Print and print as normal
Still have questions? Contact our team at hello@codehs.com to learn more!