Added event handler for the main page buttons

This commit is contained in:
maxluli
2022-09-13 10:28:30 +02:00
parent 14b66e8db1
commit 49675a3065

View File

@@ -66,5 +66,16 @@
</div> </div>
<i class="fa-solid fa-house"></i> <i class="fa-solid fa-house"></i>
</body> </body>
<script>
"use strict";
document.getElementById('likeButton').onclick = function(){
alert("You want to like");
};
document.getElementById('nopeButton').onclick = function(){
alert("You want to nope");
}
document.getElementById('favoriteButton').onclick = function(){
alert("You want to fav");
}
</script>
</html> </html>