> For the complete documentation index, see [llms.txt](https://help.codechum.com/teachers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.codechum.com/teachers/more-features-you-may-want-to-explore/playground-section/how-to-use-the-playground.md).

# How to use the Playground

### **Introduction**

CodeChum has a place where you can run and test your code in a CodeChum coding environment. We call it our Playground!&#x20;

The Playground is a free programming tool within CodeChum that allows you to freely code or practice anytime you want, and even export that code if you'd like!&#x20;

### Steps

To use our Playground, follow these steps:

1. Login to <https://app.codechum.com/login> with your teacher account.<br>
2. Click the **Playground** button on the bottommost part of the sidebar. This should open a screen similar to CodeChum's coding environment, but only with a big code editor in it.

   <figure><img src="/files/4aH5tREj0NntTmeL8ZZa" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/e1xpdXj94eppdAxRNZ3m" alt=""><figcaption></figcaption></figure>
3. If you wish to test and see how your code will look like when run, click on the **Run Code** button on the bottom right portion of the screen. It should open a terminal where your code is run.

   <figure><img src="/files/YtIZBwQdOHqAlAwpPqZW" alt=""><figcaption></figcaption></figure>
4. If you wish to change programming languages, click on the dropdown on the top right of the code editor.

   <figure><img src="/files/aQgVyKuxgES2ANydqk31" alt=""><figcaption></figcaption></figure>
5. If you wish to add more files to your code, click the blue **+** button beside the main file on the top left of the code editor.

   <figure><img src="/files/sRPaFX2EDKknMK0hvwcm" alt=""><figcaption></figcaption></figure>
6. If you wish to download your code, click the grey download button beside the settings icon on the top right of the code editor.

   <figure><img src="/files/1p9F0dRsEzJ6fhuk1sPh" alt=""><figcaption></figcaption></figure>

And that's how you make use of our Playground in CodeChum!<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.codechum.com/teachers/more-features-you-may-want-to-explore/playground-section/how-to-use-the-playground.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
