We're a place where coders share, stay up-to-date and grow their careers.
If you add an id to something, js creates an accessible variable with the same name, thats why yo shouldnt add the same id to multiple elements.
If you add an id to something, js creates an accessible variable with the same name, thats why yo shouldnt add the same id to multiple elements.