Use Spinner and Create Page Loader in Bootstrap 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 18

  • @ByteGrad
    @ByteGrad  ปีที่แล้ว +1

    Hi, mastering JavaScript is critical if you want to be a modern, professional developer: www.udemy.com/course/professional-javascript-course/?referralCode=0C1D5752923168BC87C2
    Also, if you are a front-end developer then mastering CSS (including Flexbox, CSS Grid, etc.) is equally important: www.udemy.com/course/professional-css/?referralCode=4C3C08E82629E6B15752

  • @krypton1981
    @krypton1981 4 หลายเดือนก่อน +1

    Excellent video. I was able to handle the alignment of the spinner without using CSS, leveraging the utilities from Bootstrap.

  • @user-cool839
    @user-cool839 2 หลายเดือนก่อน +1

    🔥🔥🔥🔥🔥 Thank you, man!

  • @alancameron1478
    @alancameron1478 2 ปีที่แล้ว +6

    Thanks for the tutorial. The only problem I have with this approach is that the spinner only appears on page load but there's a ton of stuff happening before page loading so ideally the spinner should appear on the click event and spin until the page loads. A tutorial on that would be much appreciated by many.

  • @DevAfangideh
    @DevAfangideh 2 หลายเดือนก่อน +1

    mann this was so helpful

  • @increment-
    @increment- ปีที่แล้ว +2

    Great video, thank you!

  • @giddianirodriguez
    @giddianirodriguez 3 หลายเดือนก่อน

    Is this working for responsive?, when i was testing it on my cellphone, the spinner appears but dont't cover the full screen, just a row in the top

  • @ayandavilakazi590
    @ayandavilakazi590 ปีที่แล้ว

    is the javascript course available on udemy business

    • @ByteGrad
      @ByteGrad  ปีที่แล้ว

      Not yet I think, sorry

  • @blackpurple9163
    @blackpurple9163 2 ปีที่แล้ว +2

    Using this same js and transition, we can make our own custom pre-loading animations right?
    Btw if we wish to remove the loader only after the page is loaded, how can we do that since setting a timeout means it'll finish the animation and go to display none regardless of whether the site has started rendering or not, so in that case I'm assuming I use if-else, so if html loads, then set timeout occurs, but if html isn't loaded yet (because the user's internet speed is unbearably slow, like mine is sometimes, happens a lot with me) the loader keeps showing the animation

    • @ByteGrad
      @ByteGrad  2 ปีที่แล้ว +4

      You would use something like window.addEventListener(‘DOMContentLoaded’, () => { CODE TO REMOVE PAGE LOADER HERE })
      It is shown later in video

  • @insamegamerff9522
    @insamegamerff9522 ปีที่แล้ว

    how can i make a blur screen instead of this black screen ?

  • @anthonydoumanis8138
    @anthonydoumanis8138 8 หลายเดือนก่อน +1

    Brilliant!

  • @fahrulikhsanhidayatullah
    @fahrulikhsanhidayatullah ปีที่แล้ว +2

    thanks!

  • @ArumaMoon
    @ArumaMoon ปีที่แล้ว +2

    What if I want the spinner to be executed when the database is called through a button?
    I'd appreciate your help.

    • @ByteGrad
      @ByteGrad  ปีที่แล้ว +2

      You would need to add an event listener for the button element listening for a ‘click’ event, then in the function write code that displays a spinner

  • @atufamin2002
    @atufamin2002 4 หลายเดือนก่อน +1

    Please make small videos