Created
November 5, 2018 12:27
-
-
Save amosuro/ccaaf638fbc7d3dfd89694772af317c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const htmlTemplate = (data) => { | |
return ` | |
<p><strong>Name:</strong> ${data.name}</p> | |
<p><strong>Email:</strong> <a href="mailto:${data.email}">${data.email}</a></p> | |
<p><strong>Message:</strong> ${data.message}</p> | |
`; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment