Little more information about the struggle would be nice. I haven’t started this course yet, but everything is simple, really. You need to install the helmet in your app, put helmet.xssFilter() and that’s all.
Tip : app.use(helmet.xssFilter());
And don’t forget about const helmet = require("helmet");