When the user clicks “Submit”, their input should display on the card
- Get the value of each input field
- Add it as HTML to the correct element in the business card template
When the user clicks “Submit”, their input should display on the card
- Get the value of each input field
- Add it as HTML to the correct element in the business card template
- add an anchor tag inside the email element
- when the user submits an email, add an href property with the correct mailto: URL like this example:
<a href="mailto:[email protected]">
[email protected]
</a>
- How about having the card update when you press enter as well?
- Validation on submit?
- Real time validation?
- Can we have one function for changing colors instead of two?