feat: since most pages were posting to the api and displaying any errors its easier to turn it into a shared function for easy refactoring.

Related to #9
This commit is contained in:
silver 2024-01-01 10:06:21 +00:00
parent 4881be37e1
commit 9042ce0df9
16 changed files with 64 additions and 176 deletions

View file

@ -46,7 +46,7 @@
<input id="button" type="submit" value="Submit"/>
</form>
<p id="formStatus"></p>
<script src="signup.js"></script>
<script type="module" src="signup.js"></script>
</main>
<footer class="page-footer">
UL Computer Society 2023-<span id="year">2023</span>