title: How to i make my prompt alert accordingly to if the user has answered what i've got pre typed in the prompt?
body: <p>I want to know how to alert "Oops, looks like you didn't enter anything", if the user has
  entered "Enter your name". i have an if and and elseif but i don't know if else would work for it.                   Here is my code</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
      &lt;html&gt;
      &lt;head&gt;
      &lt;title&gt;Home&lt;/title&gt;
      &lt;link rel="stylesheet" type="text/css" href="style.css"/&gt;
      &lt;/head&gt;
      &lt;body style="background-color: silver"&gt;
      &lt;script&gt;
          var name=prompt("Enter your name", "Enter your name")
          if (name !== '') {
              alert("Welcome" + " " + name)
          } else if(name !== false) {
              prompt("Oops, looks like you didn't enter anything");
          }
      &lt;/script&gt;
      &lt;/body&gt;
      &lt;html&gt;
  </code></pre>