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.

- Now, click the Add Lesson button.
.png?width=688&height=324&name=Emb%20cod%20(1).png)
- Enter the Lesson title, select the Code Challenge, and then click the Continue button.
.png?width=688&height=324&name=Emb%20cod%20(2).png)
- Now, click the Continue button.
.png?width=688&height=324&name=Emb%20cod%20(3).png)
- 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.
.png?width=688&height=324&name=Emb%20cod%20(4).png)
- The code has been uploaded to the course.
- To view the problem statement, test cases, and hints, use the view button.
.png?width=688&height=324&name=Emb%20cod%20(5).png)
- You can also view the code challenge from the learner's perspective by clicking the preview button.
.png?width=688&height=324&name=Emb%20cod%20(6).png)