I’m not sure what the problem is but it sounds like I may have had the same problem. If it is the same problem I had, what I had to do was sign into glitch (I’m using Chrome) with a GitHub account and then click on the glitch link on the freecodecamp challenge website. Here is the question I asked for what my problem was and it fixed it:
From what I’ve read you need to use glitch to pass the test, even though it says you can use GitHub.