Change the challenge order
You can always change your mind.
This guide explains how to change the order in which a track presents challenges to the learner.
You can always change the challenge order if that is more appropriate. And you can do that from both the Web UI and Instruqt CLI.

Before you begin

Just a consideration beforehand if you have dependencies between challenges—for example, in challenge #1, the learner creates a file that is edited in challenge #2. In such cases, you may need to redesign your challenges to keep the track running smoothly if you change the challenge order.

Change the challenge order

🌐 Web UI
💻 Instruqt CLI
  1. 1.
    Open your browser and go to play.instruqt.com. ↳ Instruqt shows your content.
  2. 2.
    Click the TRACK_NAME of the track whose challenge order you want to change. ↳ Instruqt shows the corresponding Track overview page.
  3. 3.
    Click
    . ↳
    icons now precede the challenges.
  4. 4.
    Drag (click-hold-move-release) the challenge or challenges to the desired position.
  5. 5.
    Click
    .
Instruqt CLI prefixes challenge directory names with a sequence number. The directory of the first challenge is called 01-CHALLENGE_SLUG, the second 02-CHALLENGE_SLUG and so on.
You change the challenge order by changing the prefix sequence numbers of the challenge directories:
  1. 1.
    Open a terminal or a graphical file manager on your machine.
  2. 2.
    Move into the directory of the track whose challenge order you want to change.
  3. 3.
    Change the prefix sequence numbers of the challenge directories to get the order you want.
    Only change the prefix sequence numbers. Leave the hyphens and the challenge slugs unchanged.
  4. 4.
    Head over to a terminal if needed and enter the following command:
    1
    instruqt track push
    Copied!
    ↳ Instruqt CLI pushes your track with the changed challenge order to the Instruqt platform.
Easy right? There are no flies on you as a content creator.
Copy link
Edit on GitHub