Guest User

Untitled

a guest
Dec 10th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. const template = document.createElement('template');
  2. template.innerHTML = `
  3. <label for="email-input">Email</label>
  4. <input type="text" id="email-input" name="email-input">
  5. <div>
  6. <small style="visibility: hidden;" id="validationtext"></small>
  7. </div>
  8. <style>
  9. .invalid {
  10. color: red;
  11. }
  12.  
  13. .valid {
  14. color: green;
  15. }
  16. </style>
  17. `;
Add Comment
Please, Sign In to add comment