# 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 student 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.<br>

   <figure><img src="/files/ZmG7Re0gizzKkraqL2GE" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/UzM8MHHIZUOBugoeFiX1" 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/MVw5au3shmM9s81N3ehS" 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/Tz6ZNgO2oNd1jpvSTWl6" 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/5X2NuyVBiLP93scSJ1Ez" alt=""><figcaption></figcaption></figure>
6. If you wish to download a copy of your code locally, click on the **Download** icon on the top right of the code editor. This will export the files with the programming language of your choice as the file type (.c, .cpp, .cs, .java, .py, etc.).&#x20;

   <figure><img src="/files/JfZj8KpQhoBxT0cgC5kK" alt=""><figcaption></figcaption></figure>

***

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


---

# Agent Instructions: 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:

```
GET https://help.codechum.com/students/advanced-guide/how-to-use-the-playground.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
