Whenever you write a program on CodeHS, you can create a sharable link for that program to send to other people. When you view any program from its editor page, you can access the Share Tab from the “More” dropdown on the far right: 

You can then click the “Create Share Link” button, and right away, you will have a link to send to others for them to run your program: 

If anyone goes to that Share URL, they will see a shared program page that looks something like this:

If you share a Sandbox program, then you can choose to show your code on the shared program page. You simply need to toggle the Show code switch in the Share Tab to change whether the code is shown or not. 

Another option on the Share Tab is whether the share link is “Active.” If you change you mind about sharing your program and don’t want other people to be able to visit the share link, you can toggle the “Active” switch to Off. As the author, you can still view that shared program page, but no one else can.

Did this answer your question?