diff options
| author | Mhykol <mchaeldonald62@pm.me> | 2024-05-03 10:56:46 -0400 |
|---|---|---|
| committer | Mhykol <mchaeldonald62@pm.me> | 2024-05-03 10:56:46 -0400 |
| commit | 8c814d79235a38465ef46052cf9a523d555a29e7 (patch) | |
| tree | 1c50d136015e3759aa6c9743282692ed9d0df390 /scripts/contact.js | |
Initial commit
Diffstat (limited to 'scripts/contact.js')
| -rw-r--r-- | scripts/contact.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/contact.js b/scripts/contact.js new file mode 100644 index 0000000..e33ac78 --- /dev/null +++ b/scripts/contact.js @@ -0,0 +1,25 @@ +class Contact { + constructor() {} + + Main() { + const data = { + contact: ` + <section id='contact'> + <h1>Contact</h1> + <div class='form'> + <p>Full Name:</p> + <input type='text' name='fullname'/> + <p>Email:</p> + <input type='email' name='email'/> + <p>Message:</p> + <textarea name='message'></textarea><br> + <button id='contact-submit'>Submit</button> + </div> + </section> + ` + } + return data.contact + } +} + +module.exports = () => {return new Contact()} |
