Code labs provide an in-browser coding environment where you can write and run code. Some labs have tasks which allow you to check your work along the way. Code labs belong to the data and software development categories in the Skills library.
See Labs overview to learn more about the different lab types on the Skills platform.
In this article
Who can use this?
Stnd | Prem | Strt | Pro | Ent | |
---|---|---|---|---|---|
Learners: | + | + | + | ||
Managers: | |||||
Admins: | |||||
+ Available as a plan add-on. | |||||
Learn more about Skills legacy plans, updated plans, and roles. |
Finding code labs
Find code labs in the following areas within Skills:
- The code labs library page (opens in new tab)
- The Browse all page (opens in new tab) or the search bar
- Use Filters to select Labs as the content type, and Data or Software Engineering as the category.
- From within select Path pages (opens in new tab) that contain labs
- These appear in paths as Code labs.
- If you've started a code lab:
- On your Home page (opens in new tab) under Continue learning
- On your History page (opens in new tab)
Tip: Labs with Guided in the title contain more in-depth guidance and best practices throughout the lab.
Using code labs
The following are the main components of a code lab.
A. Steps sidebar
The Steps sidebar contains instructions to follow and/or tasks to complete throughout each step of the code lab.
- Click the list icon next to the current step’s name to show a table of contents.
- Use the arrows to navigate between each step of the lab.
- Click and drag the edge of the sidebar to resize it.
B. Filetree
The filetree contains the directories (folders) and files that make up the lab. Click the three dots menu next to a directory or file to modify it.
Tip: Many labs include a solution file to reference if you get stuck.
C. Code editor
The code editor is where you do most of your work. This is a live computing environment to write, run, and view your code.
D. Tasks and checks
For some code labs, each step consists of tasks to complete and validate in the coding environment.
Once you’ve done a task, click Validate to automatically check your work for a pass or fail. Expand Feedback for details and test output. You have unlimited attempts to pass a check.
Tip: Some labs include a Task Solution for each task that appears after multiple failed attempts at validation. Click Show to see the correct answer to the task.
E. Display and settings
- Show or hide the Steps sidebar or filetree to maximize space.
- Click Settings for more layout and coding options, including the ability to download the filetree for use on your local machine or reset the environment.
- Click Help for in-platform guidance on using the code labs environment.
F. Progress bar
The progress bar displays the percentage of the lab you’ve completed.
Code labs have no time limit and remain open for as long as you’re actively working. After 30 minutes of inactivity, your code lab will shut down. If you close or exit the code lab, your progress will be saved.
Projects
Projects are a type of code lab that simulates a real-world scenario for you to solve a problem, build onto something that already exists, or create something from scratch.
Some of our most popular projects include:
- Build a Job Board with Python and Flask (opens in new tab)
- Build a Banking Portal with Node & Express (opens in new tab)
- Create a Blog REST API with Spring Boot (opens in new tab)
Common questions
Can I run more than one lab at a time?
Only one code lab can run at a time. If you want to start a different lab, exit or end your current lab first.
What should I do if my lab isn’t loading?
If your lab environment isn’t loading or is slow to load, wait a few minutes. Otherwise, try starting the lab in a different browser.
Still having trouble? Contact our Support team using the link below.