Scroll Animations with JavaScript | Smooth Scrolling, GSAP ScrollTrigger & Parallax

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 66

  • @llampp
    @llampp 8 місяців тому +8

    I usually don't write these comments, but this is by far the best coding tutorial I've seen in a while. Not rushing and explaining everything in detail leaving time to actually understand whats happening. Thanks! Earned a sub!

  • @mayainfi
    @mayainfi 7 місяців тому

    I find your style very calming. Because the font is very small it really forces me to focus and not be overwhelmed. Thank you so much for the tutorials.

  • @balmaraz96
    @balmaraz96 Місяць тому

    Great tutorial man! You explained things nicely. Looking forward to more of your content!

  • @ganieldago
    @ganieldago Рік тому +4

    Exactly what I was looking for, please keep doing videos like this. Especially the techniques and processes. Thank you!

  • @k16e
    @k16e 3 місяці тому

    Leaving a comment at the 3rd minute just to commend you for your teaching method, really helps to anchor what you're teaching in mind...should make everything eventually easier to grasp and replicate/improve/propagate. Thanks.

  • @htooaungglwinn
    @htooaungglwinn 11 місяців тому +1

    Thanks a million brother! It helps so much with my GSAP learning!!!

  • @16CXx
    @16CXx 4 місяці тому

    The way you explain the little things, its amazing 🔥. Your content is GOLD. Thank you so much ❤. If, you have time, keep uploading to us, specially those html css js gsap videos.

    • @danielhultcodes
      @danielhultcodes  4 місяці тому +1

      Thank you! I’m glad you found the video helpful 🙏🏻

  • @bhupendrajaiswal7686
    @bhupendrajaiswal7686 9 місяців тому

    Hi Daniel, Amazing Tutorials Please keep making this kind of videos
    I'm sure UA-cam will push this videos eventually.

  • @zakariabouzangad9702
    @zakariabouzangad9702 3 місяці тому

    Thank you , Please keep making other videos

  • @knevari3952
    @knevari3952 Рік тому

    Thank you very much for this very detailed tutorial, wish I had found you before

  • @misaellossantos3074
    @misaellossantos3074 8 місяців тому

    this is awesome!! i was looking like this for long time, thank you so much :)

  • @code.design
    @code.design Рік тому

    I stumbled on your channel yesterday. What a goldmine. Channels such as this are a rare gem. Too bad this tutorial is not nextjs focused, but as I read in the comments you will do that. I do think that AAA tutorials doing Award winning techniques in next will bring the correct crowd to your channel. All the best!

    • @danielhultcodes
      @danielhultcodes  Рік тому +1

      Thank you so much for the kind words man! I’m planning on doing more Next/React projects covering these techniques + more very soon 🙏🏻

    • @code.design
      @code.design Рік тому

      @@danielhultcodes You are welcome + no pressure. I truly mean this. I come from a Flash background and have used gsap since the very early days. Making the transition to html was hardcore. So I really applaud people who can teach, and thats a gift you have. Calm, detailed and explaining what you do. Top! All the best!

    • @danielhultcodes
      @danielhultcodes  Рік тому

      @@code.design Man, thanks so much again. I really appreciate the words!
      So cool that you have even the Flash background - there were a lot of awesome stuff being built back then! I can imagine the transition to be hard for sure.
      All the best to you too! 🙏🏻

  • @ph3me
    @ph3me Рік тому

    Love what you do, please don't ever stop these videos. If you'd create a video about your journey as well, that would be really cool.

    • @danielhultcodes
      @danielhultcodes  Рік тому +1

      Thank you man! I really appreciate that 🙏🏻 I will definitely create more personal videos after a while.

  • @dthierno
    @dthierno 11 місяців тому

    Bro, you are so good at what you do. I really admire your work. Amazing! Love your creativity with the animations as well!!

    • @danielhultcodes
      @danielhultcodes  11 місяців тому +1

      Wow, thank you so much bro!! 🙏🏻

  • @ИринаСвятецкая-х6е
    @ИринаСвятецкая-х6е 11 місяців тому

    Thanks for this very detailed tutorial. Very nice 😀

    • @danielhultcodes
      @danielhultcodes  11 місяців тому +1

      Thank you 🙏🏻 Glad you liked it!

  • @khalidahammed278
    @khalidahammed278 6 місяців тому

    This was really informative and I enjoyed the process

  • @aliventurous
    @aliventurous 8 місяців тому

    Excellent work! By the way, smooth scrolling is built into gsap. You just have to set scrub to a number. 'scrub: 1' would make scroll events take 1 second to complete, creating a smooth scroll effect.

    • @danielhultcodes
      @danielhultcodes  8 місяців тому

      That is true, but it’s only for the elements that you’re animating. Their smoothScroller is a smoothscrolling plugin though! I just prefer Lenis because it doesn’t interfere with the native scroll and stuff like position sticky etc.

  • @codewithshahruk
    @codewithshahruk Рік тому

    You are awesome bro. ❤ you deserve 1 M + subscribers 🎉

  • @uzydkownik6018
    @uzydkownik6018 Місяць тому

    great! Thanks!

  • @tosinakerele2937
    @tosinakerele2937 7 місяців тому

    nice tutorial. what font are you using for your text editor?

  • @EtoundiOyonoGeorgesLevy
    @EtoundiOyonoGeorgesLevy Рік тому +1

    Hello. Thanks very much for this tutorial. Great work. Just keep doing what you are doing.
    Could you just increase the font of you text editor, it's a bit difficult to se the code.
    Thanks and once more thanks so much for this 🙏🙏

  • @scribbleguy3657
    @scribbleguy3657 Рік тому

    thanks for the great videos

  • @marceloherlan8552
    @marceloherlan8552 Рік тому +1

    i like it! thanks!

  • @florentgironde7279
    @florentgironde7279 7 місяців тому

    Really nice video bro +1

  • @linushahs1117
    @linushahs1117 11 місяців тому

    Learned lot of stuff through your videos ❤. Don't stop, just increase fontsize please.

  • @elhamzeinodini4828
    @elhamzeinodini4828 10 місяців тому

    Thanks a lot❤❤❤

  • @oscarcarlen5952
    @oscarcarlen5952 9 місяців тому

    Hi, thanks for an amazing tutorial, one question. When using Gsap I often get shaky performance in Chrome like the script does not always load, jaggy animations and so on. I guess most of it is to blame that I have not set the initial state for items before animating them. But do you have any general tips if you are for example building a scrolling image gallery with zoom function. Should you then some how preload the images, set the scale of each or? Any tips are most appreciated.

    • @frednaujoks8579
      @frednaujoks8579 9 місяців тому

      @oscarcarlen5952 maybe checkout the CSS property "will-change". It should stop laggy, flashing behaviour

  • @parlgy
    @parlgy 5 місяців тому

    Thanks a lot. +1 sub🥳

  • @33_PhamHaiNamDHTI14a7HN
    @33_PhamHaiNamDHTI14a7HN 10 місяців тому

    good jobbb

  • @eugabrieldesousa
    @eugabrieldesousa 2 місяці тому

    is lennis only for the smooth scrolling? the animations is with de GSAP

  • @permanar_
    @permanar_ Рік тому

    Can you do more of the scroll based website animation with GSAP? If you could do it with React (or Next.js or something similar) would be absolutely incredible 👌
    Might be a video idea for you but you can try to recreate something like an AWWWARDS replica 👏👏👏

    • @danielhultcodes
      @danielhultcodes  Рік тому +1

      Thank you! I will cover this in React too soon 👨🏻‍💻

  • @k16e
    @k16e 3 місяці тому

    GSAP SplitText should do that but it's a paid plugin

  • @eliadalbenzio
    @eliadalbenzio 11 місяців тому

    in GitHub your index.js file is empty, why?

    • @danielhultcodes
      @danielhultcodes  11 місяців тому +1

      The github repo is only a starter! I want people to follow along and not just copy the code. Hope you understand!

    • @AyushSingh-th8wo
      @AyushSingh-th8wo 10 місяців тому

      ​@@danielhultcodes bro can you please convert this code for a react website please I'm in need of it , please make a video or give me your code of it , I'll be very grateful to you brother 🙏.
      ~ Your UA-cam fan

  • @learncode5110
    @learncode5110 Рік тому +1

    Brother I was talking about this bring full website with animation..... other thing is provide figma link in each video

    • @danielhultcodes
      @danielhultcodes  Рік тому

      Thank you! I will try to include more assets for videos in the future 🙏🏻

    • @learncode5110
      @learncode5110 Рік тому

      @@danielhultcodes yeah and please start coding from scratch

  • @learnwithnishandas707
    @learnwithnishandas707 10 місяців тому

    you can share you figma design file

  • @gksskarhcnwkrek
    @gksskarhcnwkrek 9 місяців тому

    17:04 Lenis doesn't work.. console says 'Uncaught ReferenceError: smooth is not defined' :P

    • @alejandrasantanderperez8372
      @alejandrasantanderperez8372 9 місяців тому +1

      Hi, i have the same problem, i followed this tutorial a few months ago and it went great, but then suddenly stopped working

    • @NoahPetersen-qs3bk
      @NoahPetersen-qs3bk 8 місяців тому +1

      I just used their latest import and followed their docs, worked fine this way.

  • @mdibrahimkhalil2847
    @mdibrahimkhalil2847 7 місяців тому

    Code not clear

  • @memduhcevik
    @memduhcevik Рік тому +2

    the texts seem like ants, no way to read

  • @katadermaro
    @katadermaro Рік тому +1

    Can you can do these in react and next? 🥹

    • @danielhultcodes
      @danielhultcodes  Рік тому +1

      Yes, will put out React and scroll animations later 🙏🏻

  • @백기현-f3c
    @백기현-f3c 4 місяці тому

    The content is initially marked with an arrow. That's not the best. Please tell us
    _createHero() {
    const tl = gsap.timeline();
    this.heroImages.forEach(image )
    }

    • @danielhultcodes
      @danielhultcodes  4 місяці тому

      Not sure what you mean. Could you provide more info?