" class="subscribe" id="subs">
    </div>
  </form>
  
  <div id="confirmationmessage" style="display: none;">Thank you for subscribing!</div>
  
  <script>
  function showConfirmationMessage() {
    const form = document.getElementById('newsform');
    const confirmationMessage = document.getElementById('confirmationmessage');
  
    confirmationMessage.style.display = 'block';
    setTimeout(function() {
        location.reload(); 
    }, 3000);
  }
  </script>
  
  <style>
  .finput:hover {
    border: 0