Information Security with HelmetJS - Install and Require Helmet

Tell us what’s happening:

i think there’s wrong with my code in myApp.js - because there’s like a dotted underline for the words ‘require’ and ‘helmet’ - can you please help ASAP

###Your project link(s)

solution: https://freecodecam-boilerplate-p2zmrlw6rz7.ws-us110.gitpod.io

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0

Challenge Information:

Information Security with HelmetJS - Install and Require Helmet

The dots are just the editor telling you that you can replace require with an import instead. If you hover over the dots, it should show a popup message.

You can just ignore it.

so what’s the right script - its still giving me an error…

Is the challenge itself giving you an error or is it about Visual Studio Code giving you the dotted underline still? Cause if it’s the latter, sometimes Visual Studio Code gives some really bad suggestions. It doesn’t always understand that alternate methods of module resolution won’t work.