🏗

How to use the Playground

Introduction

Sometimes you want to write code without an activity waiting for it. Maybe you are trying an idea from class, checking what a loop really does, or practicing a language your next activity uses.

The Playground is that space. It is the CodeChum editor on its own, with no problem to solve, no test cases and nothing to submit. You write code, run it, and take it with you if you want to. Let's open it from your sidebar.


Steps

Note: Your CodeChum subscription has to be valid for the Playground link to appear in your sidebar.

To use the Playground, follow these instructions:

  1. Log in to your student account and click Playground near the bottom of the sidebar. The editor opens and fills the screen.
  1. Pick your language from the dropdown at the top right of the editor. It lists the languages your account can use, such as C, Java, Python, JavaScript, HTML, CSS, JS and MySQL Database.
  1. Write your code in the editor. To split it across files, click the blue plus beside the file tabs, name the file on Add File and click Create. A file you added can be deleted from its tab: the close button there asks Delete? first, and the file goes when you click Delete.
  1. Click Run code to run what you wrote. The CodeChum Terminal opens on top of the editor, and you type into it when your program asks for input.
  1. Drag the terminal by its title bar, resize it from its right and bottom edges, and close it with the red close button or the Escape key.
  2. If you picked MySQL Database, the same window shows the tables your queries returned instead of a terminal you type into, one tab per query, named Query 1, Query 2 and so on. A query that fails shows the database message in red on its own tab.
  1. If you picked HTML, CSS, JS, your page renders in the CodeChum Web Server window instead. You can drag it and resize it like the terminal. It carries its own Devtools, Fullscreen and Mobile view buttons, and you close it with the red close button.
  1. Click the download button in the editor header to save your files to your computer. They come down with the file type of the language you chose, such as .c, .py or .java.

Note: Nothing in the Playground is scored and nothing is saved to a class. Your work is kept in the browser you wrote it in, so it does not follow you to another computer and it goes away if you clear your browsing data. Download anything you want to keep.

  1. Finally, leave the screen whenever you like. CodeChum keeps your Playground work in this browser and brings it back the next time you open the Playground, on this computer.

And that's how you use the Playground in CodeChum! Next, let's look at where you can practice with real problems on How to use the Study Area.

Last updated September 21, 2026