Three.JS not working on glitch

Hi I am new to glitch and I had already created a website(hosted with vite) with three.JS following this tutorial: I have no idea how to import it into glitch but it did not work. I also tried importing to github but I am having troubles with github too. Please help.

Do you have the code on Github? What error(s) are you getting when importing from Github?