Skip to content
English
  • There are no suggestions because the search field is empty.

Embed the code challenge into courses (Leetlabs)

Once you've built the code, you can incorporate it into the courses just like a quiz. Your learners can take the coding challenge while learning lessons.

  • To embed the code inside the course, go to Products > Courses and select the desired course.

    Emb cod
  • Now, click the Add Lesson button.

    Emb cod (1)
  • Enter the Lesson title, select the Code Challenge, and then click the Continue button.

    Emb cod (2)
  • Now, click the Continue button.

    Emb cod (3)
  • You can find a list of the code you've created and published here.
  • Now, select your preferred code and click the Embed Code Button.

    Emb cod (4)
  • The code has been uploaded to the course.
  • To view the problem statement, test cases, and hints, use the view button. 

    Emb cod (5)
  • You can also view the code challenge from the learner's perspective by clicking the preview button.  

    Emb cod (6)