t class="finput" type="email" id="new-email" name="email" 
               placeholder="Email address" 
               pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\.com$"
               title="Please enter a valid email address that ends with '.com'" required>
        <input type="submit" value="Subscribe" name="subscribe" class="subscribe" id="subs">
    </div>
  </form>
  
  <div id="confirmationmessage" style="display: none;">Thank you for subscribing!</div>
  
  <script>
  function showConfirm