Vanilla Query is like jQuery library with basic methods.
vQuery("span").first().css("background", "yellow");
vQuery("div").append("<span>Hello</span>");
vQuery("div").hasClass("className");
vQuery.ajax({
url: "https://api.example.com/data",
method: "GET",
success: function (data) {
console.log(data);
},
error: function () {
console.error("An error occurred.");
},
});