For this series of lessons, it’s easiest to clone the glitch boilerplate project and follow the instructions there.
In this challenge you need to add and require helmet to your project.
You can search for packages on glitch somewhere when in your package.json file
After you add helmet, you need to require it in the myApp.js file
Solution 1 (Click to Show/Hide)
- In the
package.jsonfile, click the
add packagebutton, search for
helmet, and click it to add it to your project.
- Then, go in to the
myApp.jsfile and require it by adding
const helmet = require('helmet');near the top of the file.
Note: Be sure to submit the link to the live demo of your project.