I do not know why this code isn’t working. The path and id is correct. Any solutions?
<script>
let img = document.querySelector("#123");
img.setAttribute("src", "media/carrera/white.webp")
</script>
3
I do not know why this code isn’t working. The path and id is correct. Any solutions?
<script>
let img = document.querySelector("#123");
img.setAttribute("src", "media/carrera/white.webp")
</script>
3