jQuery à JavaScript Converter en ligne
// 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
$(".progress").each((_, progress) => {
const steps = $("> div.right > div", progress);
steps.each((i, el) => $(el).mouseenter((e) => onHover(el)));
const onHover = (el) => {
steps.removeClass(["current", "prev"]);
el.classList.add("current");
$(el).prevAll().slice(1).addClass("prev");
};
});
bomb.style.left = `${position + 28}px`;