html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Fill in the blanks</title>
<meta name="viewport" content="width=device-width,initial scale=1.0">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="title">
<h1>FILL IN THE BLANKS</h1>
</div>
<div id="container">
<div id="wordbox">
<p id="word">The_Word</p>
</div>
<div id="ans">
<input id="Ans" type="text" name="answer" placeholder="type">
<input id="sub" type="button" value="Check" namw="answer" onclick="checkAns()">
</div>
<div id="result">
<p id="res" style="color:white"></p>
</div>
<div id="scorecard">
<p>Score:<span id="score">0</span></p>
</div>
</div>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
body {
background:linear-gradient(to top,lightblue,lightgreen);
background-attachment:cover;
background-repeat:no-repeat;
height:560px;
display:flex;
flex-direction:column;
justify-content:space-evenly;
}
#title{
width:100%;
height:10%;
display:flex;
justify-content:center;
align-items:center;
}
h1{
font-family:serif;
font-size:25px;
text-decoration:underline;
text-shadow:1px 1px 0px green;
}
#container{
width:100%;
height:80%;
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run