update contact form
This commit is contained in:
parent
281adb8a44
commit
6ee17d1fe2
@ -15,8 +15,8 @@ const contact = () => {
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<form autoComplete='on' onSubmit={(e) => { submitContactForm(e, setSuccess) }}>
|
<form autoComplete='on' onSubmit={(e) => { submitContactForm(e, setSuccess) }}>
|
||||||
<input type="text" placeholder='Your Name' autoComplete='name' />
|
<input type="text" placeholder='Your Name' autoComplete='name' required />
|
||||||
<input type="email" placeholder='Your Email Address' autoComplete='email' />
|
<input type="email" placeholder='Your Email Address' autoComplete='email' required />
|
||||||
<textarea name="message" id="contact-form-message" cols="30" rows="10" placeholder='Message'></textarea>
|
<textarea name="message" id="contact-form-message" cols="30" rows="10" placeholder='Message'></textarea>
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
{success === "Success" && <div className='message-response'>Success!!! <button onClick={() => { window.location.reload() }}>Reload</button></div>}
|
{success === "Success" && <div className='message-response'>Success!!! <button onClick={() => { window.location.reload() }}>Reload</button></div>}
|
||||||
|
Loading…
Reference in New Issue
Block a user