Pour avoir un effet de defilement de texte en JavaScript : <script>$(document).ready(function() { const textArray = textString.split(''); const textElem = $('.hacking-animation__text'); let count = 0; setInterval(() => { if(textArray[count] === "\n") { textElem.append("<br>"); } else { textElem.append(`<span class="hacking-animation__character">${textArray[co
[ ARTICLES CRÉÉS EN 2025 ]
[ ARTICLES CRÉÉS EN 2023 ]
Pour modifier une image HTML toutes les 10 secondes en JavaScript : <img id="image" src="https://lien/vers/image/01.jpg" style="width:100px"> <script> var imageSources = ["https://lien/vers/image/02.jpg", "https://lien/vers/image/03.jpg", "https://lien/vers/image/04.jpg", "https://lien/vers/image/05.jpg"] var index = 0; setInterval(function(){ if (index === imageSources.length) {