top of page
background code
background code
background code
background code

How to Write and Run Code at www.CodeHS.com

1.   Point a browser to www.codehs.com and select the “sign up for free” option.

2.   On the next screen, choose “free account” and enter your preferred login and password

      information.  You will not need a credit card.

3.   Click the “sandbox” button in the upper left corner.  The sandbox is a coding environment

      where you can write, run, and save code.

4.   Type a name for your program and hit the “create program” button.  Next, pick

      “Python 3” as your coding language and select the “create program” button.

5.   You are now ready to write and run code. Maybe

      type new code directly into the middle column.

      Or paste code into that column, for example

      if you are using starter code from one of the

      book’s many CodeLinks.  When you are ready, the

      green “run” button tells CodeHS to try to execute

      your program.  The output, and any error

      messages, will appear in the righthand column.

Sample Screen Image 1

6.   Before you code, I suggest sliding the column

      dividers such that the first column is hidden.  That

      will give you more room to write code, and you can

      always open the hidden column by clicking on the

      icons at the far left.

7.   Lastly, be sure to save your files often, just in case your computer crashes! 

Sample Screen Image 2

1.  Point a browser to www.codehs.com and

     select the “sign up for free” option.

2.  On the next screen, choose “free account”

     and enter your preferred login and password

     information.  You will not need a credit card.

3.  Click the “sandbox” button in the upper left

     corner.  The sandbox is a place where you

     can write, run, and save code.

4.  Type a name for your program and hit the

     “create program” button.  Next, pick

     “Python 3” as your coding language and

     select the “create program” button.

5.  You are now ready to write and run code.

     Maybe type new code directly into the middle

     column.  Or paste code into that column, for

     example if you are using starter code from

     one of the book’s CodeLinks.  When you are

     ready, the green “run” button tells CodeHS

     to try to execute your program.  The output,

     and any error messages, will appear in the

     righthand column.

6.  Before you code, I suggest sliding the column

     dividers such that the first column is hidden.

     That will give you more room to write code,

     and you can always open the hidden column

     by clicking on the icons at the far left.

7.  Lastly, be sure to save your files often, just in

     case your computer crashes! 

bottom of page