Reveal Website Elements On Scroll | On Page Scroll Down - Using HTML, CSS & Javascript

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

КОМЕНТАРІ • 156

  • @CodingSnow
    @CodingSnow  4 роки тому +48

    To stop reveal elements after scroll once,
    Remove the below else part of the javascript if else statement.
    else{
    reveals[i].classList.remove('active');
    }
    Then it will always be active when you scroll again.

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

      bro my javascript is not working, it was working before but now its not. I added a after that i wrote your code in another tag the same way but reveal effect not working. Even if i remove the it still does not work. plz help me bro plz im stuck on a project.

  • @krys6544
    @krys6544 3 роки тому +19

    for someone who is so scared of and new to javascript, your tutorial was so easy to understand and not rushed, thank you so much

  • @kokhonggoh8124
    @kokhonggoh8124 3 роки тому +30

    Reveal on scroll (Js part) starts at 6:52

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

      thanks brother

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

      Thanks bro 😂😂😂

    • @DevJourney-with-Emil
      @DevJourney-with-Emil 6 місяців тому

      Thanks i dont understand why he builds everything instead of just showing on already builded demo

  • @ArisAris-fs1ip
    @ArisAris-fs1ip 2 роки тому

    For days i search allover the internet and cannot find clear explanation, till i saw this video!! Thank you man!!

    • @CodingSnow
      @CodingSnow  2 роки тому +1

      You're most welcome ❤️

  • @Moviesyt319
    @Moviesyt319 2 роки тому +5

    Dude thank you so much for this informative simple tutorial -mostly people use libraries for this but you make it by using vanilla js -Damn

  • @reihanehnd4587
    @reihanehnd4587 3 роки тому +13

    Thanks for the tutorial. I used this in building of my portfolio website

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

    I literally had zero clue on what programming you did in JavaScript but thank you

  • @nirmal.p915
    @nirmal.p915 3 роки тому +6

    Thank you for this wonderful video, I searched for this function all over ymthe internet, your tutorial is very helpful and easy to understand. Especially, the solution in the comments for stopping the reveal loop. Keep growing💫

  • @serhiiarkhypenko8370
    @serhiiarkhypenko8370 3 роки тому +10

    4:25 just a little hint, you could've used odd and even for nth child instead of copying the same code

  • @tharindudasun7233
    @tharindudasun7233 2 роки тому +2

    Thankyou brother this was very help full for me as a beginner.

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

    This video is so clean and easy to learn!

  • @babafemijimoh-kuku2620
    @babafemijimoh-kuku2620 2 роки тому +2

    Thank you so much. This works perfectly. God bless you. Hope to see more.

  • @NANDURIJAYANTVISHNUBCE
    @NANDURIJAYANTVISHNUBCE 2 роки тому

    maza aagaya bhaisaab , kaam hogaya

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

    IT WORKED! God bless you! All of you here!

  • @bfg314
    @bfg314 2 роки тому +2

    Very Helpful! thank you.

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

    Very good, just I would suggest to use time stamps, so that people, who already have the webpage, could know where to go to watch the solution.

  • @martinxi2439
    @martinxi2439 2 роки тому

    Thanks for your easy to follow explanations

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

    awesome exemple. just solve my problem!!!

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

    This is the best tutorial. Thanks 😀

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

    Nice guide, This can also be done with intersection observer instead 👍

  • @sharkgamesdev
    @sharkgamesdev 2 роки тому

    This is great for my website thanks! I had one issue but I solved it. Thanks again!

  • @pdrowave5331
    @pdrowave5331 2 роки тому

    thanks man! exactly what i was searching for

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

    I LOVE THIS! THANK YOU!

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

    It is very much informative...thanks..

  • @alirezakhayami6732
    @alirezakhayami6732 2 роки тому +1

    thank you so much. so simple yet so amazing. have a great day.

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

    This is perfect, it's exactly what I want! Thank you :)

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

    thank you dude.

  • @sumayyakp8688
    @sumayyakp8688 2 роки тому

    Awesome video..looking forward for more such videos..👍👍

  • @monishp168
    @monishp168 3 роки тому

    Thanks a lot bro, You are my inspiration now.

  • @Dxazcat
    @Dxazcat 3 роки тому +2

    Thank you for this video, everything works perfect :)

  • @emregul6794
    @emregul6794 3 роки тому

    thanks bro vanilla fading in and out just what i was searching for

    • @CodingSnow
      @CodingSnow  3 роки тому

      You're most welcome my friend!

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

    Thanks for this video, you have just earn a subscriber

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

    Most important thing for coding
    You need to know things are exist...

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

    Thanks happy New year!

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

    Thanku 😍 helped me lot

  • @faisalbinafif886
    @faisalbinafif886 3 роки тому +1

    Thank you buddy !!!!
    You made my day.

    • @CodingSnow
      @CodingSnow  3 роки тому

      Glad to hear that my friend!

  • @alainabrommer8471
    @alainabrommer8471 3 роки тому +2

    Amazing video and so helpful! Thank you!

    • @CodingSnow
      @CodingSnow  3 роки тому

      You're most welcome! ❤️

  • @anhphiphan3276
    @anhphiphan3276 3 роки тому

    Thanks for the tutorial.

  • @Daniel-gr8dm
    @Daniel-gr8dm 2 роки тому +1

    Nice tuto, it helped me a lot :)

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

    thanks a lot for your tutorial, it was very helpful

  • @streamekispi594
    @streamekispi594 3 роки тому

    Thanks, It's the best what I find.

  • @VyNguyen-du4vk
    @VyNguyen-du4vk 3 роки тому

    thank you for this video. it's helpful !!!! a big thumbs up for you man

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

    Thank you for sharing this code with us.

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

    Thankyou so much 🙏🙏

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

    Thank you so much!

  • @Matz-pe4tj
    @Matz-pe4tj Рік тому

    Thank you very so much

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

    Thank you so much!

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

    very good thank you so much thank

  • @global_citizen
    @global_citizen 3 роки тому

    Thank you. Very helpfull for me

  • @jonathan-3008
    @jonathan-3008 3 роки тому

    Thank you so much

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

    Thank you.

  • @echtr
    @echtr 3 роки тому +1

    that's so helpful, thanks.

  • @klaasjanssen644
    @klaasjanssen644 2 роки тому

    thx so elegant!

  • @pedro.sh101
    @pedro.sh101 2 роки тому

    very clever, thank you

  • @MatiasOrcajo
    @MatiasOrcajo 3 роки тому +1

    tutorial start at 6:54

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

    thanks man

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

    Thanks for tutorial, i used a transition in the X axis. It worked but you know how I make for content doesnt show all at the same time? I was thinking put all the content hidden in the same place in top of each other (postition: absolute) and then go to the position i want when scroll. You know if exist a easier way? Thanks for the video!

  • @baki_codes
    @baki_codes 4 роки тому +1

    wow loved it thank you

    • @CodingSnow
      @CodingSnow  4 роки тому

      You're welcome! ❤ Stay tuned for more.

  • @simonc.4732
    @simonc.4732 Рік тому

    working, thanks

  • @nozomiperez8580
    @nozomiperez8580 2 роки тому

    doing well and thanks again!

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

    Thank you

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

    I love you!

  • @lennoxbeats8335
    @lennoxbeats8335 2 роки тому

    thank you

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

    Magnificent

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

    thaky you buddy

  • @karansharma2740
    @karansharma2740 3 роки тому

    Thanks for the tutorial man!! ❤❤

    • @CodingSnow
      @CodingSnow  3 роки тому

      You're most welcome! ❤️

  • @ruthrojasp
    @ruthrojasp 3 роки тому

    Thank you, thank you. Really super.

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

    Nice video

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

    can you share other modern technics to learn from you ? i sometimes see on internet pages that when i scroll up or down something happens and i´d like to learn more about that. Also i´d like to learn about responsive design with or not using bootstrap.

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

      Watch my other videos related to scroll. You'll learn more

  • @pathmashanthasenanayake2144
    @pathmashanthasenanayake2144 4 роки тому

    wow..it is creative idea..👌👌

  • @killerqueenjs
    @killerqueenjs 3 роки тому

    Thank you! it help me a lot

  • @yajirushik2871
    @yajirushik2871 3 роки тому

    Thank You ❤❤🚀🚀🚀🚀🚀🚀

  • @JohnShaka825
    @JohnShaka825 2 роки тому

    thanks bro

  • @geoffreydenie5324
    @geoffreydenie5324 3 роки тому

    Thanks man awesome tutorial (y)

  • @liamakia5295
    @liamakia5295 2 роки тому

    ty

  • @UzairAhmad-n4l
    @UzairAhmad-n4l 2 місяці тому

    Can someone please explain the logic inside for loop.
    if (reealtop < windowHeight - revealpoint ) {}
    What's the logic ( calculations ) behind it?
    Time: 8:30

  • @Javanese24
    @Javanese24 3 роки тому

    Thanks for tutorial

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

    Can anyone please explain about the functions and for loop used in the javascript? I don't understand the js . Please

  • @technt2024
    @technt2024 4 роки тому +2

    good

  • @NamTran-ik8st
    @NamTran-ik8st 3 роки тому

    it may work but i'd like to be explaned about those javascript lines, thanks. xd

  • @samuelk1623
    @samuelk1623 4 роки тому

    I like it. Thank you!

  • @RohitRaj-oo8qz
    @RohitRaj-oo8qz 4 роки тому +1

    Awesome

  • @warrengaytero1682
    @warrengaytero1682 3 роки тому

    Thanks you brother

  • @t-despo
    @t-despo 2 роки тому

    hello. thanks first of all.
    when u scrolled down and refreshed content is hidden how to stop this? when i refresh on for exaple third section after refresh to be active class on it
    thanks for attention

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

    Thankyouu

  • @LuqmanKhalid-eb6nz
    @LuqmanKhalid-eb6nz Рік тому

    thanks it helped a lot

  • @rekan_98
    @rekan_98 3 роки тому

    just a question cant we do it by AOS LIBRARY?

  • @fitanjiyoutube4016
    @fitanjiyoutube4016 2 роки тому +1

    I have a problem😢
    Type error : reveals[i].classList.remove is not a function to reveal.
    Plz help me to solve this problem🙏🏻

  • @shiroemusic3792
    @shiroemusic3792 2 роки тому

    How you start setuping can you do a video on that

  • @cubeWorld555
    @cubeWorld555 3 роки тому

    thank you so much !!!

  • @11valdano
    @11valdano 3 роки тому

    Thanks

  • @midzmarsurain3907
    @midzmarsurain3907 2 роки тому

    The default tempo for the soft is 120 and when i set the tempo to 100 and played it again, the midi plays again in 120 bpm in tempo. Can

  • @UseCodeMagma
    @UseCodeMagma 2 роки тому

    Ily

  • @Daniel-pq1vr
    @Daniel-pq1vr 3 роки тому

    Thanks

  • @halkit6071
    @halkit6071 4 роки тому

    I like it. but i see a list of links in the left of web page and a text section in the center of web page when i use tutorials point website to see a tutorial, so pls sir can you give me an example same as what i see on tutrial point website 😍.

  • @jmg9509
    @jmg9509 2 роки тому

    6:50 - Javascript from here.

  • @kriegswar6733
    @kriegswar6733 2 роки тому

    cool

  • @safouanefethallah5485
    @safouanefethallah5485 2 роки тому

    the headphones plugged in but the soft still cos though the computer speakers . It really should be because bluetooth has a delay

  • @talhakhalil4444
    @talhakhalil4444 2 роки тому

    i have followed your tutorial but i am getting an error on active class of javascript (uncaught type error: cannot read properties of add and remove ) i will be thankful if you help me

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

    I'm not sure why it's not working on my end. I really love the reveal elements on scroll but it's not working on mine, don't know why.