-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (38 loc) · 1.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="Irony generator" content="Generate text with ironic writing">
<title>Irony Generator</title>
<link rel="icon" type="image/x-icon" href="images/favicon.png">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="js\javascript.js"></script>
<script src="js\language.js"></script>
</head>
<body>
<div class="parent">
<h1>Irony Generator</h1>
<h2>Enter text and get iRoNy aS A rEsuLt</h2>
<div class="input">
<form action="" id="form">
<h3>Enter text</h3>
<input type="text" id="text-input">
</form>
<button id="submit-btn" onclick="showResult()">Submit</button>
</div>
<div class="result">
<h3 id="you-wrote">You wrote "<span id="show-result"></span>"</h3>
<div class="bubble hidden visuallyhidden">
<h3>The text has been copied</h3>
</div>
<h3 id="the-result-is">The ironic text is "<span id="show-irony"></span>"</h3>
</div>
</div>
<div class="languages">
<button onclick="putInEnglish()" class="chosen-btn" id="gb-button">🇬🇧</button>
<button onclick="putInFrench()" id="fr-button">🇫🇷</button>
</div>
<p class="copyright">© 2022, Samuel Tandonnet</p>
</body>
</html>