Built a basic website for today | Happy T Day

in #code5 years ago

Screen Shot 20191128 at 11.55.47 AM.png
Screen Shot 20191128 at 11.54.17 AM.png

Clicking button alerts "Happy Thanksgiving Alert."


Code

<title> Thanksgiving</title>

  <script type="text/javascript">
        function showMessage(){
            alert("Happy Thanksgiving");
        }
    </script>


  <div Sacred style="text-align:center">
    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Bourbob_red_turkey_Tom-r2.jpg/440px-Bourbob_red_turkey_Tom-r2.jpg" style="width:500px;height:600px;" text-align: center; />
  </div>

  <center>
<br>
        <input type="button" id="btnShowMsg" value="Click Me!" onClick='showMessage()'/>
    </center>

</body>