Tell us what’s happening:
I tried setting up Glitch and I am just going around in circles on how to edit myApp.js. Either the file doesn’t appear on the left or it says “Something went wrong”.
Ideally I would switch to Git/GitHub, but I can’t figure out how to get that to work either.
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0.
Try following the instructions here to install git and setup github. Once you get used to the few basic commands it really is the best way to manage your code versions. It’s worth persevering with.
Glitch has been very temperamental, these last few weeks. My recommendation is for you to get some experience with Git and GitHub. It will be vastly more beneficial, going forward.
@richgkav I should have clarified that I have Git installed and have forked the repo, cloned to my local drive, and tried editing myApp.js. I then tried pasting the URL to myApp.js in to the freeCodeCamp exercise solution, and that does not work.
You have to paste the live app url from glitch to the validation url input box, not directly to the file. You can find it under the “share” button in glitch. But depending on what challenge you are working on glitch might have problems overall, I had a big issue with it in the past couple of days as well. You can find out more about that and a solution here
I do not know anything about Ngrok, but many campers have used CodeSandbox, in the past. It is basically the same as Glitch, but more professional looking.
I cannot emphasise enough how much of a staggeringly bad idea this is. Technically, yes, you can do this, but allowing the internet at large direct access to your personal computer should self-evidently be an Extremely Bad Idea
Edit: ngrok is very useful, but you do not tell the internet what that tunnel url is, ideally it should only be ever exposed on a closed internal network.
As long as I don’t share the tunnel address then it’s fine. It was only up for a short time, and it did not work as a solution to this challenge. Glitch.com remains unresponsive and is now returning me 504 errors. Yay! What a day.