Compare commits

..

No commits in common. "49bf6bc058da2376290f131d121f2a3d94f98f52" and "3faeabb29984c61f9ebf846568cec04ffb71d3aa" have entirely different histories.

1 changed files with 1 additions and 12 deletions

View File

@ -20,7 +20,7 @@
<label class="form-label" for="topic">What would you like to discuss?</label> <label class="form-label" for="topic">What would you like to discuss?</label>
<textarea class="form-control" id="topic" name="topic" placeholder="What would you like to discuss?" style="height: 10rem;"></textarea> <textarea class="form-control" id="topic" name="topic" placeholder="What would you like to discuss?" style="height: 10rem;"></textarea>
</div> </div>
<div class="mb-3" style="overflow-x: auto;"> <div class="mb-3">
<label class="form-label d-block">Which day and time works best for us to meet on Zoom?</label> <label class="form-label d-block">Which day and time works best for us to meet on Zoom?</label>
<table class="table"> <table class="table">
<thead> <thead>
@ -263,17 +263,6 @@ contactForm.addEventListener("change", function changeEventHandler(e) {
document.getElementById("submitButton").classList.add("disabled"); document.getElementById("submitButton").classList.add("disabled");
} }
}); });
fetch("https://contact.vicky.rampin.org/availability")
.then(function(response) {
if(response.status !== 200) {
throw new Error();
}
return response.json();
})
.then(function(obj) {
console.log(obj.availability);
});
</script> </script>
</body> </body>