Skip to content
KALANBLON
Show contents

Chapter 6 of 6 · 10 min

Quiz: driving the page

DOM, events and the shopping list: last quiz of the web path. You need 70 % correct answers to pass the course.

Quiz

5 questions · pass mark: 70%

  1. 1.What does document.querySelector(".card") return if there are three elements with the class card?

    One answer

  2. 2.To display the first name typed by a user, which line is safe?

    One answer

  3. 3.Complete to stop the form from reloading the page.

    Complete the code

    form.addEventListener("submit", (event) => {
      event.______________();
    });
  4. 4.What happens with button.addEventListener("click", add()) ?

    One answer

  5. 5.In the shopping list project, which rules guarantee that the page always reflects the data? (several answers)

    Several answers possible

Your progress is saved on this device. Create a free account to keep your progress on all your devices.