Story 5.3: persistance localStorage

This commit is contained in:
2026-02-04 21:10:40 +01:00
parent fb95a39792
commit a4e0cb71e9
7 changed files with 222 additions and 42 deletions

View File

@@ -136,7 +136,7 @@ include_template('navbar', compact('currentPage'));
<button type="submit" id="submit-btn" class="btn-primary flex-1 justify-center">
Envoyer le message
</button>
<button type="button" class="btn-ghost">
<button type="button" id="clear-form-btn" class="btn-ghost">
Effacer le formulaire
</button>
</div>
@@ -146,6 +146,7 @@ include_template('navbar', compact('currentPage'));
</section>
</main>
<script src="/assets/js/state.js" defer></script>
<script src="/assets/js/contact-form.js" defer></script>
<?php include_template('footer'); ?>