> For the complete documentation index, see [llms.txt](https://hyfbe.gitbook.io/teacher-curriculum/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyfbe.gitbook.io/teacher-curriculum/topics/motivating-students.md).

# Motivating students

Motivating students is super important. Especially when the studying gets difficult and challenging.

## Preparation

* Read this [great article](https://cft.vanderbilt.edu/guides-sub-pages/motivating-students/) about different kinds of motivation and strategies for motivating students

## Tips

Here are some more practical ways of motivating students in class

* Use authentic tasks: something that learners believe they would actually do in real life (e.g. making a menu open when a button is clicked). Or the flip-side of this, avoid using examples like var foo = "bar";
* Draw on your experience to show how the things you are teaching are relevant in your day-to-day job. Remember that students often have no idea what a programmer does daily
* Share your imposter syndrome (the belief that a person's achievements are lucky flukes and a fear that "someone will finally figure this out"). We encourage you to share stories of when you made mistakes so that students know that it is OK to find programming hard
* Give context for everything. What is the reason we are talking about `promises` fx
* Make the students compare themselves to where they were 3 weeks ago
* Avoid saying things are easy

## Paths & Exercises

* [Exercise](/teacher-curriculum/exercises/motivating-students.md#exercises)

## Learning Paths

* [Groundwork for student learning](/teacher-curriculum/learning-paths/groundwork-for-student-learning.md)


---

# 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://hyfbe.gitbook.io/teacher-curriculum/topics/motivating-students.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.
