# Asking Questions

For some courses, you will be able to ask your teachers questions about your code, automatic results and the assignment directly from within CodeGrade. Just as the feedback you get from your teachers, you can ask your questions directly about the line or section of code it is about.

1. After handing in your submission, click on the "**Latest Submission**" button to display your code.
2. Click on any line of your code to start typing your question that is about that line or section of code.
3. After writing your question, press "**Save**" to send it to your teacher.

{% hint style="success" %}
Have a more general question about the code that does not apply to just one section? Simply press the first line of code to ask this.
{% endhint %}


---

# 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.codegrade.com/for-students/advanced-features/asking-questions.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.
