How to use the forEach method in JavaScript | simple tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • Hello, in this short video we are going to see how we can use "forEach" to save the data of a form within a new arrangement that later we are going to use in another video to make a slideshow,
    This is a simple project that I am creating on scripts and through these videos, I am going to present part of its progress, as well as certain parts of the javascript code used to execute an action.
    I hope you like the video and please like and subscribe to the channel.

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

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

    de q pais es profe muchas gracias me ayudo bastante

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

      Gracias por haber sido de ayuda en tus dudas Laik, vivo en USA

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

    Tengo una duda, sin en lugar de inputs, tengo que son parte de una tabla me funcionaria la misma lógica? Puesto que esos th es información que cambia depende del equipo que este visualizando

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

      Hola @MrEVOLUTION94 , si cambias los inputs por el contenido dentro de , te deberia funcionar tambien. solo que en vez de adquirir los valores con variable.value lo harias usando .innerHTML o innerText.

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

      @@thedigitalmike Disculpa podría ponerme un ejemplo? aun no logro que en la consola me muestra los datos del Th

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

      @@MrEVOLUTION94 OK, dame un tiempito para hacer un video con ejemplos de como hacerlo