Update src/index.html
All checks were successful
On_Push / build (push) Successful in 18s

This commit is contained in:
flamez 2025-02-13 20:49:53 +00:00
parent bd62b1eb63
commit d2344bd5c9

View file

@ -28,6 +28,20 @@
<h3>Links</h3>
<p>The links i use.</p>
</div>
<script>
function openCity(evt, cityName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
</body>
</html>