-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (49 loc) · 1.38 KB
/
index.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pirate speak</title>
<style>
textarea {
width: 90%;
height: 10vh;
display: block;
margin: 1rem;
padding: 1rem;
border: dotted;
border-color: dodgerblue;
}
#output {
border: 1px solid black;
border: double;
height: 10vh;
width: 90%;
margin: 1rem;
padding: 1rem;
}
body {
background-color: rgb(99, 99, 126);
}
button {
background-color:grey;
padding: 15px 15px;
text-align: center;
font-size: 15px;
margin: 4px 2px;
cursor: pointer;
}
</style>
</head>
<body>
<h1><strong><u><center>Talk pirate</center></u></strong></h1>
<textarea
id="txt-input"
placeholder="Put your sentence here..."></textarea>
<button
id="btn-translate"><b>Translate</b></button>
<div style="font-size: larger;"><i>Output will come here</i> 👇</div>
<div id="output"></div>
<script src="app.js" type="text/javascript"></script>
</body>
</html>