         </form>
        </div>
    </div>

</div>

<script>
    const form = document.getElementById("contact-form");
    const fields = Array.from(form.elements);

    fields.forEach(field => {
        field.setAttribute("aria-invalid", false);

        const errorBox = document.createElement("span");
        errorBox.classList.add("error");
        const errorId = field.id + "-error";
        errorBox.setAttribute("id", errorId);
        field.setAttribute("aria-describedBy", errorId);
        field.inse