title: How to check for the word of the day
body: <p>I need help figuring this out</p>
  
  <p>I need to:</p>
  
  <blockquote>
    <p>write a JavaScript function named ‘checkWordOfTheDay’ which accepts a single parameter for a word. Compare the parameter to a const value containing a word of your choosing. Return true if the parameter matches the word, and false if it doesn’t.
    Write unit tests in tests.js to test the checkWordOfTheDay function and ensure that they function correctly by running the UnitTests.html page and confirming the result
    On the home page, add an input field and a button where the user can guess the word of the day. Display an alert letting them know if they guessed correctly or not.</p>
  </blockquote>
  
  <p>This is what I have so far for my javascript:</p>
  
  <pre><code>$(document).ready(function () {
      var word = "cat";
      function checkWordOfTheDay(word);
  });
  </code></pre>