Added event handler for the main page buttons
This commit is contained in:
1 parent
14b66e8db1
commit
49675a3065
1 file changed
+12
-1
+12
-1
@@ -66,5 +66,16 @@
|
||||
</div>
|
||||
<i class="fa-solid fa-house"></i>
|
||||
</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>
|
||||
Reference in new issue
Block a user