Code output is displayed on a page using the domain codehs.me or codehs.io. In the event where the program output cannot be displayed, CodeHS provides an error message stating there is "No CodeHS.me Site Here". The output for HTML programs may be unavailable due to an incorrect file name link or an automated flagging system detecting a restricted URL in the program's code.
π‘ This message may say "CodeHS.io" depending on your school's or district's program sharing permissions. For more information about codehs.io, check out this article: Launching the New CodeHS.io Domain π
Flagged for Abuse
CodeHS automatically flags program output if the code contains restricted domains. If a program is flagged and blocked for containing a restricted domain, the error message will contain the note "Removed by admin".
Incorrect Program Filename or Link
HTML programs can link to other code files in the program. If you click on a link that is misspelled or doesn't exist, the error message will contain the note "Do your links and filenames match?".
In the GIF below, the link in the program redirects to other.html, while the only two files in the program are called index.html and other-page.html. To get this link working, make sure the link matches the file name we are attempting to navigate to. In this case, we would need to change the link to other-page.html.
Try it out in this sample program!
Still have questions? Contact our team at support@codehs.com to learn more!



