> For the complete documentation index, see [llms.txt](https://help.codegrade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.codegrade.com/setup-assignment/build-assignment/student-view.md).

# Student View

When developing your assignment, it can be useful to see how it looks and works from the student's perspective. For example, you may want to check that certain information is not visible to them or that their workflow for submitting and receiving feedback is as desired. This is exactly what the **Student View Mode** is meant for.

<mark style="color:red;">**NOTE:**</mark> Student View is available to users with specific permissions. To enable access to Student View, a user must have a role that has the **"View course roles"** permission. Teachers and administrators can manage the permissions assigned to each role within their courses. To learn more, visit [Managing Course Permissions](https://help.codegrade.com/setup-assignment/other-features/configuring-permissions-of-roles).

To turn it on, go to an assignment and then click the :eyeglasses: icon in the bottom left corner of your CodeGrade interface.

<div data-full-width="true"><figure><img src="/files/7DbVvOZkfHmXMgrLyQph" alt=""><figcaption><p>Activating the Student View in CodeGrade.</p></figcaption></figure></div>

This view grants permissions typical of the Student role, with the added possibility of seeing hidden assignments. The account's original identity is retained. This means that there is no relation with the Test Submission. A submission created in Student View will still refer to your original account but with student permissions. Once activated, you will be brought to the submission page for the current assignment, where you can submit to see the feedback a student would receive.&#x20;

<div data-full-width="true"><figure><img src="/files/umWo5UETJyi1vfthAjwZ" alt=""><figcaption><p>Student View activated for an assignment. Arrows indicate how to leave the view.</p></figcaption></figure></div>

\
To leave the Student View, you can click the :eyeglasses: icon or the "Leave Student View" button that will be present at the bottom of the page.


---

# 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.codegrade.com/setup-assignment/build-assignment/student-view.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.
