Is it safe to use innerHTML in JavaScript?

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

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

  • @codewithbubb
    @codewithbubb  2 года назад +10

    If you made it to the end of the video and are wondering where the next video is - is coming soon… 😀

    • @Sacre97
      @Sacre97 2 года назад +1

      i got this i my recommended and didn't realise it was a newly published vid :P

    • @codewithbubb
      @codewithbubb  2 года назад +1

      Hope you found it useful Alejandro!

  • @SnakesRaven
    @SnakesRaven 2 месяца назад

    Excellent and thorough explanation. I'm a noob and was learning about innerHTMl, innerText and the like today. You saved me time and a headache.

  • @frankoviedo3117
    @frankoviedo3117 2 года назад +3

    I am Latino, and it is important to know about the use of this resource, since they use it a lot in the courses they offer, thank you very much for the support

    • @codewithbubb
      @codewithbubb  2 года назад +1

      Cheers Frank. Yes, I think we've all used innerHTML at some point in our code - it's very useful for generating dynamic content but obviously needs some caution.

  • @slama432
    @slama432 2 года назад +4

    Really interesting! Thank you

    • @codewithbubb
      @codewithbubb  2 года назад

      You're welcome, hope you found it useful.

  • @S2eedGH
    @S2eedGH 2 года назад +2

    Great Content thanks. Could you please do more of dangerous function videos ?

    • @codewithbubb
      @codewithbubb  2 года назад +1

      Thank you Saeed. Sure, that sounds like a good idea. If you had any in mind, feel free to let me know.

    • @S2eedGH
      @S2eedGH 2 года назад

      @@codewithbubb such as eval()

  • @shadon_official2510
    @shadon_official2510 2 года назад +1

    Awesome video

    • @codewithbubb
      @codewithbubb  2 года назад

      Thanks very much for your support!

  • @throwbacksfather6625
    @throwbacksfather6625 2 года назад +1

    what font is that good vid btw

    • @codewithbubb
      @codewithbubb  2 года назад

      Thanks very much! Do you mean the font in VSCode or the one for the text that pops up on screen?

  • @НікітаАндрійовичЗіборов

    Thanks )

    • @codewithbubb
      @codewithbubb  2 года назад

      You’re welcome. Are you using innerHTML in your code?

  • @CaliburPANDAs
    @CaliburPANDAs 2 года назад +1

    insertAdjacentHTML

  • @Daf-wk5zy
    @Daf-wk5zy 2 года назад

    No