---
title: Create a lesson
description: Write your own lesson in the lesson editor, preview it as a student, and give it to your class as a Quest.
order: 1
verified: 2026-11-16
---

A lesson is a set of slides. In the code panel, students read each slide on the left and write their code next to it. You build lessons in the lesson editor, from **My Creations** in the sidebar.

## Start a lesson

1. In the sidebar, select **My Creations**, then **Add Blank Lesson**. The lesson editor opens with your new lesson.

![The My Creations menu, with Add Blank Lesson, My Lessons and My Modules](/docs/creating-content/create-a-lesson-1-my-creations-menu.png)

2. Select **LESSON SETUP & SETTINGS**. On the **Main** tab, type a **Lesson Name** and a **Lesson description**, and pick a **Lesson Type**.
3. Make sure **Lesson active** is on. Courses and modules show only active lessons.
4. Select **Save**.

![Edit Lesson on the Main tab, with the name My First Web Page, a description, the type Practical and Lesson active on](/docs/creating-content/create-a-lesson-2-edit-lesson.png)

To open a lesson again later, select **My Creations**, then **My Lessons**.

## Add slides

A new lesson starts with one sample slide. Change it to your own content, or remove it: on its card, select **⋮**, then **Remove**.

1. Select **ADD SLIDE**, then **New Blank Slide**. **Standard Templates** and **HTML Templates** add slides that are already laid out.

![The ADD SLIDE menu, with New Blank Slide, Standard Templates and HTML Templates](/docs/creating-content/create-a-lesson-3-add-slide.png)

2. Select the new slide's card. Above the slide, choose how to write it: **Standard** works like a word processor, while **HTML** and **Markdown** let you write the slide as code. CodeTribe asks you to confirm before it switches.
3. Write the slide. On the right, you see it the way students will.
4. Select **Save** in the editor's toolbar before you open another slide.

![A Standard slide in the editor, with its text, the Save button, and the student's view on the right](/docs/creating-content/create-a-lesson-4-standard-editor.png)

To change the order of the slides, drag a card by its ⠿ handle.

## Preview the lesson

1. At the top right of the editor, select **Preview**. The lesson opens in the code panel in a new tab, as your students will see it.
2. Select **NEXT** to move through the slides.

![The lesson in the code panel, with the slide on the left, the code editor in the middle and the Run button on the right](/docs/creating-content/create-a-lesson-5-preview.png)

To have CodeTribe check your students' code on a slide, [add tests to it](/docs/creating-content/add-tests-to-a-coding-slide).

## Give the lesson to your class

1. Open your class: in the sidebar, under **TRIBES**, select it.
2. On the **Quests** tab, select **Add Quest**, then **Assign from My Creations**.

![The Add Quest menu, with Assign from Catalog, Create Pop-Up Lesson and Assign from My Creations](/docs/creating-content/create-a-lesson-6-add-quest-menu.png)

3. Under **Select lesson**, choose your lesson.
4. Optionally, change the **Quest name**. CodeTribe suggests one for you.

![Add Quest, with the type My creations, the lesson My First Web Page and the Quest name](/docs/creating-content/create-a-lesson-7-add-quest-details.png)

5. Optionally, select the **Settings** tab and change the **Due Date**.
6. Select **Launch**. The Quest shows on the class's **Quests** tab. Students select **Keep Coding** to open your lesson.

![The Quest My First Web Page on the Quests tab, with its due date and Keep Coding](/docs/creating-content/create-a-lesson-8-quest-card.png)

To keep several lessons together in order, [group them into a module](/docs/creating-content/group-lessons-into-a-module).
