nelsonic/hapi-validation-question

View on GitHub
welcome-message.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang=”en-GB”>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  <title>{{title}}</title>
  <link rel="shortcut icon" href="https://www.dwyl.io/images/favicon.ico" type="image/x-icon">
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ=="
  crossorigin="anonymous">
</head>

<body class='center'>
  <style>
    body {
      margin-top:0.3em
    }
    .center {
      margin: auto;
      width: 90%;
      padding: 10px;
    }
    .email {
      color: #388e3c;
      font-weight: bold;
    }
  </style>
  <h3>Hi {{name}}, Welcome to ACME Co!</h3>
  <h4>Please <em>check your email </em>
    <span class="email">{{email}}</span>
    for a confirmation message!
  </h4>
</body>
</html>