A client has approached you to create a website specific to their business. This website will serve as a
way of marketing their business, attracting clients and allowing them to make queries. The client
wants the website to keep track of users by storing their details for survey and marketing purposes.
The client requests that the website should have a database to keep track of these users.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>COVID-19</title>
<style>
#msg {
display: none;
position: absolute;
width: 280px;
top: 200px;
left: 50%;
margin-left: -150px;
background: #fc0;
padding: 10px;
}
</style>
<script>
function textMsg() {
var solution = String.fromCharCode(68,111,32,105,116,32,89,79,85,82,83,69,76,70,33);
document.getElementById('text').innerHTML = solution;
document.getElementById('msg').style.display = 'block';
}
</script>
</head>
<body>
<div id="msg">
<div id="text"></div>
</div>
<p>Click to show the <a href="#" onclick="textMsg()">
solution</a>.</p>
</body>
</html>
Comments
Leave a comment