Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
anaelle1531 authored Feb 1, 2025
1 parent 1022f7f commit 11b197d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
function change_egalite(){
let egalite_img = document.getElementById("egalite_img"); // acces a l'element HTML par son id
egalite_img.setAttribute("src", "egalite2.png"); // modification d'un attribut de l'element HTML
egalite_img.setAttribute("src", "egalite2.jpg"); // modification d'un attribut de l'element HTML
}

function restaure_egalite(){
Expand Down

0 comments on commit 11b197d

Please sign in to comment.