How to Build a Search Bar with Web Components - JavaScript Tutorial

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 10

  • @dcode-software
    @dcode-software  11 місяців тому +1

    *If you prefer to create a search bar without web components* 👇
    ua-cam.com/video/f6ocDCkCmhM/v-deo.html

  • @danimatuko
    @danimatuko 11 місяців тому +3

    Great explanation! You are one of a few that creates high quality vanilla.js tutorials. Your channel should have hit the million subs years ago.
    Keep up the great work!

  • @johnlabuci96
    @johnlabuci96 11 місяців тому

    u reading my mind dom.. really need this at the moment

  • @bmehder
    @bmehder 11 місяців тому

    I recently learned there is a new semantic element now too.

  • @TomasMisura
    @TomasMisura 11 місяців тому

    I am not very familiar with modules but working with modules and components in vanilla JavaScript has one significant advantage, meaning I don't need to learn all those fancy frameworks like React, Vue, etc. It seems to provide sufficient functionality on its own.

    • @dcode-software
      @dcode-software  11 місяців тому

      Yeah, though it certainly does depend. For smaller projects, yes, but for larger projects it may be more beneficial to go for something like React

    • @TomasMisura
      @TomasMisura 11 місяців тому

      @@dcode-softwareindeed

  • @manuelenng
    @manuelenng 11 місяців тому +3

    Wait, you can create components in vanilla js and import them into your html? 🤨 damn... I really do not know a lot

    • @cloudpuncher4615
      @cloudpuncher4615 11 місяців тому +1

      They've been out 10 years bro, there used to be a thing called HTML imports until it got deprecated because everybody got on the React bandwagon... It was the same as having a element on your page except it was an import from another HTML file than you would link.import and then run a querySelector() on it (like template or docFrag) select an element cloneNode and inject into the DOM...