- Lab
- Core Tech

Practice: Node.js in the Terminal
This lab provides a hands-on environment to help you practice the concepts learned in the course "Node.js in the Terminal".

Path Info
Table of Contents
-
Challenge
Introduction
Welcome to the Hands-On Lab
Practice: Node.js in the Terminal
This lab provides a hands-on environment to help you practice the concepts learned in the course Node.js in the Terminal
Feel free to reference the course if you have any questions regarding the concepts covered in this lab.
Each of the following Steps relates directly back to the course Module with the same name.
-
Challenge
Discover the Node Environment
Practice interacting with Node.js from the terminal.
The following Tasks use the files in the
Module2
directory. In the Terminal to the right, navigate into that directory to perform these tasks.cd ~/workspace/Module2
-
Challenge
Import Modules
Practice including modules.
The following Tasks use the files in the
Module3
directory. In the Terminal to the right, navigate into that directory to perform these tasks.cd ~/workspace/Module3
-
Challenge
Manage Files and Folders
Practice working with files.
The following Tasks use the files in the
Module4
directory. In the Terminal to the right, navigate into that directory to perform these tasks.cd ~/workspace/Module4
-
Challenge
Create a Simple HTTP Server
Explore the core HTTP module.
The following Tasks use the files in the
Module5
directory. In the Terminal to the right, navigate into that directory to perform these tasks.cd ~/workspace/Module5
Note: Using the
--watch
argument should allow the server to restart with the upcoming change.
If you are not seeing the expected result, you may try restarting the server. In the Terminal window running the server press the key combinationctrl+c
. This will stop the running server. Then you can restart the server using the commandnode --watch server
. -
Challenge
Congratulations
Congratulations on Finishing
Congratulations on completing this lab.
Feel free to continue using this lab to practice the other concepts that were presented in Node.js in the Terminal course.
The best as you continue your Node journey.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.