How to submit challenge done locally

Tell us what’s happening:
How do I submit a solution I have done locally on the machine to the solution field on freecodecamp. Do I use a link to the GitHub repo or how do I go about it

Your code so far

Your browser information:

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

Challenge: How to Use package.json, the Core of Any Node.js Project or npm Package

Link to the challenge:

Typically, you would enter http://localhost:3000 for the URL if I am not mistaken.

thanks, I’ve done this but the challenge won’t accept the solution

the link is correct you just have to add a forward slash after 3000 to make it into this http://localhost:3000/

I don’t think you can use a localhost URL. You need to put your code somewhere online, maybe replit or glitch - and submit the URL to the live site (not the edit project URL).

I am able to use localhost as a url and pass the challenges with no issues. Now for the projects, those must be hosted online somewhere.

1 Like

you can use localhost in the challenges, but for the projects you need a live site

1 Like