Hi all, sorry this is my first post as I’m new here but could do with some help.
apologies if my posts are in the wrong place or seem like daft questions, I’m still new to web development.
I’m creating a contact form in HTML, Here is my code for the form:
<div class=”contactcon”>
<form role=”form” action=”contact.php” method=”post”>
<div class=”form-group”>
<label for=”contact-name”>Name</label>
<input type=”text” name=”name” placeholder=”Enter your name…” class=”contact-name” id=”contact-name”>
</div>
<div class=”form-group”>
<label for=”contact-email”>Email</label>
<input type=”text” name=”email” placeholder=”Enter your email…” class=”contact-email” id=”contact-email”>
</div>
<div class=”form-group”>
<label for=”contact-number”>Contact Number</label>
<input type=”number” name=”number” placeholder=”Enter your contact number…” class=”contact-number” id=”contact-number”>
</div>
<div class=”form-group”>
<label for=”contact-subject”>Subject</label>
<input type=”text” name=”subject” placeholder=”Your subject…” class=”contact-subject” id=”contact-subject”>
</div>
<div class=”form-group”>
<label for=”contact-message”>Message</label>
<textarea name=”message” placeholder=”Your message…” class=”contact-message” id=”contact-message”></textarea>
</div>
<button type=”submit” class=”sndbtn”>Send</button>
</form>
</div>
It links to a php file that I have but my problem is that when I view it in a browser the, the contact form isn’t clickable for some reason and I can’t figure out why.
Could somebody offer any suggestions? Again I’m sorry if this is a daft question haha
Thanks
Rob