Change Emoji Reacttion using Javascript

CSZONE
Change Emoji Reacttion using Javascript





<!DOCTYPE html>
<html>
<head>
 <title>Emoji</title>
 <style>
  body{
   background-color: black;
  }
  button{
   width: 100px;
   height: 43px;
   color: green;
   border-radius: 10px;
  }
  button:hover{
   background-color: yellow;
  }

 </style>
</head>
<body>
 <center>
  <p id="demo" style="font-size: 100px;">&#128528;</p>
  <button onclick="document.getElementById('demo').innerHTML='&#128528;'">Sad</button>
  <button onclick="document.getElementById('demo').innerHTML='&#128512;'">Smile</button>
 </center>
</body>
</html>


Source Code : Download

Comments

Popular posts from this blog

HTML Signup Login Form With Source Code