How to Easily Create a Text Typewriter Effect with JavaScript

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии •

  • @LagrangePoint0
    @LagrangePoint0 2 месяца назад +1

    This was a great tutorial! I had achieved this effect before but in a much more complicated and inefficient way.

  • @bedtimehorrorstoryyoutube
    @bedtimehorrorstoryyoutube Год назад +1

    Simple and effective 😀 Thank you!

  • @istbl3480
    @istbl3480 Год назад

    Thanks!

    • @dcode-software
      @dcode-software  Год назад

      You're welcome! Thank you for the Super Thanks 💪 appreciate it

  • @LFG04
    @LFG04 Год назад

    this is a very easy and good way of doing a typewriter effect, good job and thanks!

  • @MichaelShingo
    @MichaelShingo 11 месяцев назад

    I'm curious, is there is an advantage to doing this recursively vs. iteratively?

  • @euVicodes
    @euVicodes 5 месяцев назад

    amazing thank you so much. how can i make it repeat alone ?

  • @danushadhaamarasekera7215
    @danushadhaamarasekera7215 9 месяцев назад

    Thanks brother, may god bless you

  • @mariners_platter
    @mariners_platter Год назад

    where can I get 'Lexend' font? Is that a Google Font?

  • @frankdrolet9439
    @frankdrolet9439 Год назад

    Love your tutorials, you should do more advanced front-end stuff

  • @kibels894
    @kibels894 Год назад +1

    Did you notice the bug at the end where there's invalid unicode put to the screen for a second until the full unicode character has been output? Making it work smoothly with unicode would be an interesting video.

  • @neontuts5637
    @neontuts5637 Год назад

    Awesome! That's a cool trick to create a text-typing effect. Thanks for sharing. How to add a cursor at the end and after text typing is completed that cursor should blink.

    • @spkim0921
      @spkim0921 9 месяцев назад

      .text{
      overflow: hidden;
      border-right: .05em solid orange;
      white-space: nowrap;
      animation:
      blink-caret .75s step-end infinite;
      }
      @keyframes blink-caret {
      from,
      to {
      border-color: transparent
      }
      50% {
      border-color: orange;
      }
      }

  • @euVicodes
    @euVicodes 5 месяцев назад

    how can add this to a project of mine? i´m trying but it´s not working

  • @davidpainzug5810
    @davidpainzug5810 Год назад

    thank you so much bro

  •  9 месяцев назад

    thank you bro

  • @hiboktalampak1473
    @hiboktalampak1473 Год назад

    i use opera gx. every time i type in there, there is this clacking sound. i like it. how to do that with js?

    • @MichaelShingo
      @MichaelShingo 11 месяцев назад

      Add a keyboard event listener and have it trigger a sound. Tone.js is a good library to play sounds with javascript.

  • @Uncaught_in_promise
    @Uncaught_in_promise Год назад +1

    Cute. What if I want this effect to loop endlessly?

    • @Imam.Mehdi_
      @Imam.Mehdi_ Год назад +2

      Just add typeTypeEffect(element,text) in if(text ===length-1)

  • @suelingsusu1339
    @suelingsusu1339 Год назад

    Nice!!🌹👌👍🙏🖖🖖🖖

  • @HAZ0517
    @HAZ0517 6 месяцев назад +1

    Doesn't work for me >.>

  • @lewisli3672
    @lewisli3672 Год назад

    dope

    • @oladitiabiodun
      @oladitiabiodun Год назад

      Please how can I make the text infinitely repeat