Is it safe to use innerHTML in JavaScript?

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ต.ค. 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 หลายเดือนก่อน

    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?

  • @НікітаАндрійовичЗіборов
    @НікітаАндрійовичЗіборов 2 ปีที่แล้ว

    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