Creating Website with Scroll Animation using GSAP & Scroll Trigger | HTML, CSS, JS Tutorial

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

КОМЕНТАРІ • 300

  • @arskhatri9825
    @arskhatri9825 7 місяців тому +10

    Bro you know I've been suffered from two days and two nights and i was very frustrated during the work, i know all these stuffs but can't figure it out how am i able to do the timeline scroll but finally i got your video and it helps a lot!
    It's like last mein indian hi kaam me aaya 😅 Thank You brother for your help and i subscribed !😍

    • @gravitycoding
      @gravitycoding  6 місяців тому +2

      Glad I could help, 😎🥰🥰

  • @abhishekrawat7610
    @abhishekrawat7610 Рік тому +3

    Bro ummed jaag gyi apki videos dekh ke webdev lord love from Uttrakhand❤❤

  • @gouharmaquboolnitp
    @gouharmaquboolnitp Рік тому +7

    I really appreciate 🙏 your works sir! Be consistent, you will definitely achieve a milestone within a yr

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

      Yaa bro ☺️, thank you for your support ❣️, with you I am nothing 🙏💗

  • @Nik-g1i
    @Nik-g1i День тому

    Aag lga di bhai Dhua dhua kr diya Bhai tumne yeah sb Itne aache se sikha kr🔥🔥🔥 ❤❤❤

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

    i dont have words to appreciate u. one of the best and easiest tutorial i have ever seen in my entire life. Thanks

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

      Thank you for your lovely support 😊❤️

  • @riteshko123
    @riteshko123 2 місяці тому +4

    Bro ummed jaag gyi apki videos dekh ke webdev lord love from MAharastra India MH40

  • @preetgadhiya9695
    @preetgadhiya9695 Рік тому +3

    Marvellous content of web ❤

  • @manojpaithane5704
    @manojpaithane5704 5 місяців тому +1

    the way you explain mind blowing brother , keep it up 😍 u dont have to advertise your channel your content already doing it outstanding ....
    love u bro ❤❤

    • @gravitycoding
      @gravitycoding  5 місяців тому +1

      Thank you so much 😀, all things are happening with your support ❣️

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

    This channel is soooo underrated. Bro you deserves millions of views❤

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

      Aap logo ka pyaar raha to wo bhi ho jaayega 😊

  • @riteshko123
    @riteshko123 2 місяці тому +1

    Great work man great work
    thank you for teaching gsap
    Creativity another level keep it up
    Great work. Thank you so much
    Bahut badhiya ba bhaiya ji.

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

    Thanks Brother for this video. But I have one question . I think this will effect on responsiveness .Can we controlthe device wise position of that elements?

    • @gravitycoding
      @gravitycoding  6 місяців тому +2

      Yaa bro ofcourse, hamlog control kar sakte h width wise.

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

    Thank you very much... Very helpful...I am learning GSAP

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

      🤗🤗 thanks for watching our videos 😊

  • @pavanbatham-ie7do
    @pavanbatham-ie7do 5 місяців тому +1

    your master of gsap

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

    I watched your video first time such an amazing content. Plz take live classes of html and css simple projects for beginner and explain while coding live. I hope many people will join you🥰

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

    @gravitycoding you are The Best❤☺

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

      Are bhai best to aap ho ☺️❣️

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

    Great work❤❤
    Just one suggestion can you explain why you changed position relative from div when that causes some problem it will be more helpful

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

      Just copy that and ask chat gpt to explain that help me alot in back

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

      Ye badhiya tha guru... 😂

  • @harish14t
    @harish14t 11 місяців тому +2

    Bahut badhiya ba bhaiya ji

  • @TheFarahk
    @TheFarahk 10 місяців тому +2

    Understanding Hindi is coming in handy. This was wonderful.

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

    Creativity another level keep it up . Salute hai aap ko

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

    Hello brother..! Your video is very helpful to make animated websites for beginners.. agar possilbe ho to apna thoda experience share kro ki kha se sikha kse sikha kitta time hua h is field m , or krte kya ho work profile…or thoda btao ki begginers ko kya kya kse kse krna chhaiye age future k liye.. thank you ❤

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

      Thank you so much bro ☺️, you like our videos. Yaa I will surely share my journey experience.

  • @pavanbatham-ie7do
    @pavanbatham-ie7do 5 місяців тому +2

    world best video in gsap maja a gya bhai or bhi video lao

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

      Thank you so much, sure I will upload more video like this.

  • @levisplay6581
    @levisplay6581 10 місяців тому +1

    Great work man great work
    thank you for teaching gsap

  • @GuruDonBharati
    @GuruDonBharati 2 місяці тому +2

    Ab Aa gaya Maja ♥️♥️❤️♥️❤️💓💓👋👋🚩🚩

  • @mutantgamer9148
    @mutantgamer9148 10 місяців тому +2

    Aag laga di bro 🔥💕

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

    how it work on your without gsap.registerPlugin(ScrollTrigger); iam new in GSAP

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

      Actually we already link the CDN of Scroll Trigger plugin in the HTML file

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

    1st time seeing your tutorial

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

      Thank you so much for watching our videos 😊

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

    Awesome brother ❤

  • @AmirKhan-cj2ns
    @AmirKhan-cj2ns Рік тому +1

    Bro agar Js pe zyada focus lagawoo gy to zyada acha rahey gaa . But this is a great content. You are a great person ❤

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

    You are the best sir! Make a website with tailwind if possible. Thank you 😇😇

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

      Yaa sure bro ☺️

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

      @@gravitycoding you are the best I have always been admiring you 😇

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

    Amazing animation bhaiya

  • @aadhinarayanan1933
    @aadhinarayanan1933 7 місяців тому +1

    bro...off screen cover by your face cam.......but video is very usefull and great!!!!!!!!!!

    • @gravitycoding
      @gravitycoding  6 місяців тому +1

      Sorry for that, from next time I will handle it. 💚

  • @abdulhaseeb-sh7oi
    @abdulhaseeb-sh7oi Рік тому +2

    Great work. Thank you so much

  • @VaishaliTomar-qk8ek
    @VaishaliTomar-qk8ek 3 місяці тому +1

    Great work

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

    Thank you bhai bohut kuch seekhne mila or mai ye effect ko portfolio me lagaunga maza aayegi
    Baaki bhai navbar banana nahi aata h responsive wo sikhaa do na please 🙏🥺
    Matlab wo toggle navbar mobile screen par click hote hi wo open hota h animation se aur wo hambyrger menu turn hojaata h cross me fir wo again menu bar ban jaata h wo
    Baaki css se bana leta hu magar thoda effects waale nahi ban paate h css se

  • @moviesmasala7542
    @moviesmasala7542 12 днів тому +1

    Thanks bro

  • @mr_professor_x
    @mr_professor_x 3 місяці тому +1

    iss khushi mee apko subscribe kar di jaati hai.

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

    Super Bhai..Thanks .

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

    Op bro❤

  • @humayunahmad6306
    @humayunahmad6306 Місяць тому +1

    Thankyou bhai very much

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

    i want to make it smooth with locomotive but when i add locomotive that work with gsap its animation is disabled . i want the solution

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

      Yaa there is a solution wait for the tutorial which we are currently recording and uploading ASAP.
      That's video cover the how to use GSAP with Locomotive ☺️

  • @TheWonderlife001
    @TheWonderlife001 2 місяці тому +1

    awesome

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

    Great job man

  • @RudraYadav-z1e
    @RudraYadav-z1e 2 місяці тому +1

    bhai aapne javascript meh khud se logic kase banana sikha please bata dijiye

    • @gravitycoding
      @gravitycoding  2 місяці тому +1

      Lots of Practice guru ❤️🙌

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

    bhaia mery paas koi alfaz nhi hain k mai apka shukria kesy ada karun
    u did a reat job,u do and plz doing bro
    it means alot

  • @HarshYadav-im3yq
    @HarshYadav-im3yq Рік тому +2

    mja aa gya sir big fan

  • @jccaychop_apps
    @jccaychop_apps 10 місяців тому +1

    exccelente video, lo haces ver tan facil.

  • @SachinSingh-ci7wi
    @SachinSingh-ci7wi 19 днів тому +1

    do this works in the responsive things means while making the web responsive didnt the positions differ so didnt the animation differ???????????????

    • @gravitycoding
      @gravitycoding  17 хвилин тому +1

      Yes, it will work.
      Already created on Live.

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

    Hello, brother while adding image, it shows white background, how can I solve that?

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

      Contact me on Instagram, and share the screenshot of problem☺

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

    Great work 👏

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

    thanks Bhai to make me understood

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

    Thank you💜

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

    congratulations for 3k party mil jana chahiye call krne sai phle 😅

  • @sandipkumar-sj9uu
    @sandipkumar-sj9uu 11 місяців тому +1

    Maja aagail...

  • @Salmancreationbd
    @Salmancreationbd 10 місяців тому +1

    great job

  • @DoUSuggon
    @DoUSuggon Місяць тому +1

    I did exactly same as you did but in < div class="three>....., when i scroll the main fanta picture, the fanta picture comes from class="one" but not from class="two". Any ideas what's happening?

    • @gravitycoding
      @gravitycoding  13 хвилин тому +1

      Actually there is some issue in assigning the value from top and bottom...
      You can check our latest live of responsive Fanta and we updated the source code there.

  • @MithileshKumar-uw9er
    @MithileshKumar-uw9er Рік тому +1

    Very nice sir 😊😊😊

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

    Super website ❤❤
    Bhaiya react js me bhi animation website bna do please..

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

      React js main purpose is to create efficient website which can handle server load. It is not a good practice to put many animations in react. Hope you understood 😊

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

    when we are doing for first time it gives an error but when we refersh it it will work fine
    what is the problem why pepsi can and cocacola can are not moving for first time after refersh it works
    and in your github code also doing same problem

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

      Yaa, I checked it right now it shows some bugs while we use GSAP from animation, I don't know why this problem happens, in my other projects, GSAP from animation is not working properly, we will convert this animation to GSAP to animation.
      I will update the source code and inform you shortly 😊

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

      @@gravitycoding Yes i am also facing same issue

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

    Ha bhai me bhi ab bolunga aapko❤❤

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

    Great video 💯 thanks ❤

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

    Bindas bhai

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

    nice work

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

    Bhai we want dsa in java, can you provide us ?

  • @huangNeo-j7s
    @huangNeo-j7s 11 місяців тому +1

    The mainstream front-end frameworks overseas are as follows. I am a programmer from China and would like to learn more about them.

  • @AniketEdot
    @AniketEdot 6 місяців тому +1

    Thank you for this video

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

    thank you bhaiya

  • @suhailkhan1297
    @suhailkhan1297 5 місяців тому +1

    make a video on gsap responsive for mobile device, i have made but cant figure out how to make it responsive for mobile device

  • @Inner_god
    @Inner_god 3 місяці тому +1

    thank q broo

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

    Hello Sir,
    Sir aapne ye jo animation bnaya hai, kya esko responsive nhi krskte hai?
    Mera name mukesh kumawat hai, Please Please esko responsive krna sikha do, Paid or free course please

  • @zainsajjad7528
    @zainsajjad7528 Рік тому +3

    Unique content

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

    Orange can Jb 3rd section main ja raha.wahan scrub q ni lgaya? Without scrub wo waps move kyse Kr raha Hy?

  • @misterperfect-o1b
    @misterperfect-o1b Місяць тому +1

    Bro mara java script html ka sat link nahi kar raha ha ma na code bi sara alll right likha ha par pata nahi link kiyu nahi kar raha plzz aap issue solve kae da css link ho gaya ha par java script nahi ho raha ha

  • @Ashutosh-u4m
    @Ashutosh-u4m 3 місяці тому +1

    i liked and subsribed your channel, before even studying why? because i believe i will get osm content and knowledge/

  • @amritkumar6321
    @amritkumar6321 Рік тому +15

    DSA is important in web development

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

      Good developer ke liye zaroori hai jab scale pe le Jana honga compnay mein fresher level pe nhi padti woh Bina dsa ke bhunkar skate ho

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

      No need bro

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

      no need

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

      Who said ?

    • @AjaySharma-om9kx
      @AjaySharma-om9kx 9 місяців тому +2

      Bro Web Development ke liye to nahi but interview ke liye DSA important hai.

  • @ankitmji786
    @ankitmji786 5 місяців тому +1

    Thik ba bhaiya sab

  • @ohyaudahgpp1820
    @ohyaudahgpp1820 3 місяці тому +1

    Keren bg

  • @aayushsanatani4155
    @aayushsanatani4155 5 місяців тому +1

    bhaiya vo apne magic scroll pe frames banana to sikha diya ek video on how to make it animate in js correctly pleaseeeeeeeeeeeeeeeeeee

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

    great👍

  • @MithileshKumar-uw9er
    @MithileshKumar-uw9er Рік тому +1

    But sir UA-cam ke contant title ki wajah se kabhi kabhi dikhayi nahi deta hai to sir please ek bye ek page pe work kariye please sir 🙏🙏

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

    Great bhaiya

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

    bhaiya pls gsap aur vanila js pe tutorial banaiye, hum madhubani se hai

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

    Bro vip content bus aik video aisi bhi bana do jis mein yai pata chal sakay gsap animations ko responsiveness k sath control kaise karsakte hein jaise k mobile screen par i pad laptop par kyun k wahan height width diff hogi to same aise hi positions par sub kuch aa k na bethay jaise is resolution par chal raha hai you know what i mean

  • @Noob-be3dg
    @Noob-be3dg 5 місяців тому

    Eski Responsive ki video kab ayegi

  • @sultanmahmud9804
    @sultanmahmud9804 5 місяців тому +1

    nice

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

    keep it up

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

    how to make this animation reponsive ? 1 aise scrolling effect but responsive website video pls

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

    Broo new tutorial lao jldi we all are waiting ❤

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

      Thoda exam nipta le 😅 phir aate h lekar

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

      @@gravitycoding okeyy lekin jldii😂🫶

  • @rakesh_vlogs
    @rakesh_vlogs 10 місяців тому +1

    Ram Ram ❤

  • @Cristianofbp
    @Cristianofbp 9 днів тому +2

    Dolly chaiwale ka chacha ka ladka lolly codewala😂😅

    • @gravitycoding
      @gravitycoding  9 днів тому +1

      🤣🤣🤣❤️

    • @Cristianofbp
      @Cristianofbp 8 днів тому +1

      ​@@gravitycoding 😂 Bura mut man na sir 😅

    • @gravitycoding
      @gravitycoding  8 днів тому +1

      Main to maje leta hu bro ❤️...
      🤣🤣 Just Chill and Enjoy and learn

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

    Which vs code extension u using?

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

    please help
    i'm following your tutorial but trying to do in next, react app with @gsap/react package. below is my code can you fix the animation please, im new on it
    "use client";
    import { useEffect, useLayoutEffect, useRef, useState } from "react";
    import { gsap, Power3 } from "gsap";
    import ScrollTrigger from "gsap/ScrollTrigger";
    import { useGSAP } from "@gsap/react";
    export default function Home() {
    gsap.registerPlugin(ScrollTrigger);
    const animationContainerRef = useRef(null);
    const secondContainerRef = useRef(null);
    const orangeHalfCutImageRef = useRef(null);
    const fantaImageRef = useRef(null);
    const main = useRef();

    useGSAP(
    () => {
    let tl = gsap.timeline(
    {
    scrollTrigger: ScrollTrigger.create({
    trigger: '.second-container',
    start: '0% 50%',
    end: '80% 90%',
    scrub: true,
    // pin: true,
    markers: true,
    })
    }
    )
    tl.to(fantaImageRef.current, {
    top: "120%",
    left: "10%"
    }, 'animation1') // animation1 is animation name to group multiple to work together
    tl.to(orangeHalfCutImageRef.current, {
    top: '160%',
    left: '23%'
    }, 'animation1')
    },
    { scope: animationContainerRef, revertOnUpdate: true }
    );
    return (



    FANTA














    Flavour Updated
    Lorem ipsum dolor sit, amet consectetur adipisicing elit. Labore facilis ullam nemo sequi? Itaque sint laudantium sed necessitatibus, animi voluptates soluta autem ab dolorum, facere facilis deserunt exercitationem, similique tempora!






    CocaCola
    Buy Now


    Fanta
    Buy Now




    Pepsi
    Buy Now




    Basic ScrollTrigger with React
    Scroll down to see the magic happen!!


    box
    box
    box





    );
    }

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

    bhai same Reactjs ke sath video banao with GSAP

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

    HTML AUR CSS AUR JAVASCRIPT KA VIDEO FOR BEGINNERS K LIYE BANA DIJIYE❤❤🙏

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

      Okay Bro, I am also thinking about that ☺️❣️

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

      THANK YOU SO MUCH SIR...||😇😇

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

    Responsiveness ka kya?

  • @CodeCraftArhum
    @CodeCraftArhum 10 місяців тому +1

    mza aya

    • @gravitycoding
      @gravitycoding  10 місяців тому +1

      ☺️😇

    • @CodeCraftArhum
      @CodeCraftArhum 10 місяців тому +1

      bhai agr hum simply gsap lga kr animation krty hain aur agr mujey gsap ke animation ko ik particular device ke width pr perform krna hoga tb mein kaisy krun
      @@gravitycoding

    • @gravitycoding
      @gravitycoding  10 місяців тому +1

      GSAP ke documentation me set width ka function Diya hua h check it once...

  • @AmirKhan-vg4br
    @AmirKhan-vg4br Рік тому +1

    Bhai or to apni bahut best content provide kia hai lekin images link nahi kiaye hai plz link karo taki koye direct images ko download kardy project ko start kar saky plz

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

      Already provided source code in the description from there you can download all the assets ❣️☺️

  • @user-rk7mn8cn2w
    @user-rk7mn8cn2w Рік тому +2

    hlo bhaiya plz make a website using three js

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

    bhai framer motion se sath me video banau mare sath kafi sare log learn kar lange

  • @aim-frontend
    @aim-frontend Рік тому +1

    bro please make a video how to use gsap with react

  • @AmazonFinds-001
    @AmazonFinds-001 2 місяці тому +1

    now imagine making it responsive

    • @gravitycoding
      @gravitycoding  2 місяці тому +1

      Already Responsive Done in our Live Stream...
      Check it out 😉