Skip challenges
Take a shortcut.
This guide explains how to skip challenges within a track.
Skipping challenges allows learners to skip a challenge within a track. This might be useful when learners are stuck on a certain challenge or have partially completed a track and want to pick up where they left off.

Who can skip challenges?

If every challenge in a track has a solve script, users can potentially skip challenges. The following users can always skip challenges:
  • All team members.
  • Track authors.
Additionally, anyone can skip challenges if the Allow skipping __ setting is checked on the track.
All or nothing
If you enable skipping for learners, they will be able to skip every challenge in a track.

Before you begin

There are two requirements to enable the skip a challenge feature for a track:

Skip challenges

First, you need to enable skipping:
🌐 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 where you want to enable skipping. ↳ Instruqt shows the corresponding Track overview page.
  3. 3.
    Turn on the Allow skipping toggle. ↳ The toggle looks like this now:
    .
If the Allow skipping toggle is grayed out or disabled for your track, ensure that every challenge with a check script also has a solve script.
  1. 1.
    Open the track.yml file of the track where you want to enable skipping in your code editor.
  2. 2.
    Add or adjust the following property to track.yml:
    1
    skipping_enabled: true
    Copied!
  3. 3.
    Save track.yml and open a terminal where you enter:
    1
    instruqt track push
    Copied!
    ↳ Instruqt CLI pushes your track with skipping enabled to the Instruqt platform.
Now inform your learners that they can skip a challenge by clicking Skip when playing the track.

Force skipping

Force skipping is skipping to a specific challenge without running any lifecycle script. This can be useful when you debug challenges. You can only force skipping from Web UI and need to be one of the track authors:
🌐 Web UI
  1. 1.
    Open your browser and go to play.instruqt.com.
  2. 2.
    Click the TRACK_NAME of the track where you want to force skipping. ↳ Instruqt shows the corresponding Track overview page. And with every second and subsequent challenge, Instruqt shows a
    button.
  3. 3.
    Click
    on the challenge you want to skip to. ↳ Instruqt opens a Skip to challenge? pop-up.
  4. 4.
    Click Force. ↳ Instruqt starts the track and skips to the challenge you picked without running any lifecycle script.
Great! By now, you know your way around challenges.