1// this worked for me
2https://www.workversatile.com/jquery-to-javascript-converter/
1//it works for small pieces of code, you still have to do most by hand. Just like you do at night
2https://properprogramming.com/tools/jquery-to-javascript-converter/
1document.querySelectorAll("input")[1].click();
2var image = document.getElementsByTagName("img")[0];
3image.setAttribute('src', './img/denzel.jpg');
4image.setAttribute('width', '200px');
5document.getElementById("h3").innerHTML = "Hoooooray, Good JOB";
6const button = document.querySelectorAll("button");
7for (var i = 0; i < 6; i++) {
8 if (parseInt(i % 2) === 0) {
9 button[i].style.color = "#0000FF";
10 } else {
11 button[i].style.color = "#FF0000";
12 }
13}