Jump to content
Search Community

Kopano Segano

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Kopano Segano

  1. 1 hour ago, Cassie said:

     

    What @Rodrigo said. Adding that you're also using a require import which isn't needed in your setup at all.

    Here's a little video showing the debugging process seeing as you're new to this. I thought it might be helpful. In dev tools you can see console errors which point to the line in the file that the error is occurring.

    Good luck with the learning!

    Cassie your'e the goat if i could send you flowers i would haha.. thank you.. the landing page didn't open up like i thought it would but i'll keep practicing and thank you rodrigo, you guys are awesome 

    • Like 1
  2. 1 hour ago, Cassie said:

    gsap-starter.zip

    I've made you a little sample project so you can see where you put your files. Maybe it'll help?

    From the screengrabs, you're certainly on the right track with the script tags and I think Jack's likely correct about the path being the issue.

    Don't worry about npm for now if you're just learning to code. It's a more complicated route which is only necessary if you've got other stuff set up that bundles your javascript for you. Script tags will serve you just fine!

    ok, i just uploaded the file, maybe you can guide me from here, i didn't insert the script tag in the js file. I'm trying to get the loading page to the landing page lol i hope this makes sense

    webdsgnpractice.zip

  3. 2 minutes ago, Kopano Segano said:

    ok, so for context i'm new to coding and i was following tutorials on youtube. This is my 3rd attempt at using gsap  in html and js files but its not working.. i copied the gsap srcipt tag and installed it using the terminal via npm and it still didnt work 

    Screenshot 2024-03-22 at 17.53.18.png

    I then decided to go for a different approach and followed the tutorial that used the terminal method but it still didnt work.. for more context i'm using a macbook air .. the tutorial i'm follwoign is code grid on youtube (link: 

    )

  4. 10 minutes ago, Cassie said:

    Hi there! Sure thing. Can you list out the steps you've tried, the code you're using and what you mean by "not working"

    ok, so for context i'm new to coding and i was following tutorials on youtube. This is my 3rd attempt at using gsap  in html and js files but its not working.. i copied the gsap srcipt tag and installed it using the terminal via npm and it still didnt work 

    Screenshot 2024-03-22 at 17.53.18.png

  5. good day guys.. i installed gsap and used the tag but its not working, i even downloaded it and tried installing it via my terminal but still nothing.. can i get some assistance?

×
×
  • Create New...