dateForm()">Submit</button>
        </div>
    </section>
    
    <script>
    function validateForm() {
        const email = document.getElementById('email').value;
        const phone = document.getElementById('phone').value;
        const emailPattern = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; // Simple email regex
        const phonePattern = /^\d{10}$/; // Example for 10-digit phone numbers

        if (!emailPattern.test(email)) {
            alert('Please enter a valid email address.');
         