skip to Main Content

I cannot select same class elements with query selector all. I use the VS code editor – Javascript

In javascript file, I select same class element with query selector all like this... const buttons = document.querySelectorAll(".button"); In html file, I wrote like this... <!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="index.css"> </head> <body> <script…

VIEW QUESTION
Back To Top
Search