# Giving Feedback: Comments

Giving focused feedback is a key to helping students understand how they can improve. Tychos gives teachers the ability to leave comments in student code, attaching the comment to a specific line of code.

### Step 1: Click on the line number

In the code editor (either the Initial State pane, or the Calculations Pane) you simply click on the line number to open up the comment dialog:

<figure><img src="https://2165864134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LCBQtB7AkKJtVQIbOdo%2Fuploads%2FONXG1bIWbwOXRQbkvazB%2Ftychos_comment_1.png?alt=media&#x26;token=219b04cd-0d2b-46bc-90d3-207e19897da3" alt=""><figcaption></figcaption></figure>

### Step 2: Enter your comment

You will be prompted to enter some text. This will be viewable by the student. You can also edit this comment, or remove it by cliking on the line number again:

<figure><img src="https://2165864134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LCBQtB7AkKJtVQIbOdo%2Fuploads%2FceTV9scBaqkdlHER8hwI%2Ftychos_comment_2.png?alt=media&#x26;token=159483c4-f731-4dff-9473-4b6488f44cb8" alt=""><figcaption></figcaption></figure>

### Step 3: Save the scenario, student can now view

Once you have added the comment, be sure to SAVE the scenario. This will add the comment to the student's scenario so that they can view it. The student views the comment by simply hovering the mouse over the icon that appears now to the left of the line number - a little green comment icon indicator:

<figure><img src="https://2165864134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LCBQtB7AkKJtVQIbOdo%2Fuploads%2FXvo4rj2aS7m0ZuKtCdyX%2Ftychos_comment_3.png?alt=media&#x26;token=17f174ce-6f4f-4b3b-8b88-83360bb02b3e" alt=""><figcaption></figcaption></figure>

The student can remove the comment by clicking on the little trash can icon.


---

# 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://docs.tychos.org/docs/for-teachers/giving-feedback-comments.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.
