JQuery para JavaScript Converter online
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
Better Barracuda
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
There is no i guess:D
document.querySelectorAll("input")[1].click();
var image = document.getElementsByTagName("img")[0];
image.setAttribute('src', './img/denzel.jpg');
image.setAttribute('width', '200px');
document.getElementById("h3").innerHTML = "Hoooooray, Good JOB";
const button = document.querySelectorAll("button");
for (var i = 0; i < 6; i++) {
if (parseInt(i % 2) === 0) {
button[i].style.color = "#0000FF";
} else {
button[i].style.color = "#FF0000";
}
}