Skip to content
Justice Tech School

jQuery and Vanilla JS

Modern JavaScript covers many jQuery tasks.

Example
document.querySelectorAll("p").forEach(function (p) {
  p.classList.add("on");
});
fetch("/api").then(function (r) { return r.json(); });

Exercise

Modern select.

document.All("p")

Quiz Test

What replaces $("p") in vanilla JS?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.