-
Notifications
You must be signed in to change notification settings - Fork 0
/
converter.html
58 lines (55 loc) · 2.15 KB
/
converter.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/converter.css">
<title>Converter</title>
</head>
<body id="body">
<!-- Start of navigation -->
<div class="navigation">
<nav>
<a id="backlink" href="index.html">
<img src="./assets/coin_logo.png" alt="Logo" class="logo" height="100">
</a>
<ul id="menuList">
<li><a href="index.html">Home</a></li>
<li><a href="crypto.html">Crypto</a></li>
</ul>
</nav>
<div class="menuicon">
<div class="dropdown">
<img id="img_menu_icon" src="./assets/menu_icon.png" alt="Dropdown-menu" height="20"
onclick="togglemenu()" />
</div>
</div>
</div>
<!-- End of navigation -->
<!-- Start of Converter -->
<div id="content_block">
<div class="container">
<div class="head">
<h1 id="page_title">CRYPTO CONVERTER</h1>
</div>
<div class="input-field">
<input type="text" id="curreny" autocomplete="off" placeholder="Enter a Currency e.g. usd" required />
<input type="number" id="input" autocomplete="off" placeholder="Enter a amount" required min="0" max="999999"/>
<select type="text" id="selectCurrencies" autocomplete="off" placeholder="Select a Currency"
onchange="currname()" required>
<option id="option_curr" value="" disabled selected>Select a Cryptocurrency</option>
</select>
</div>
<div class="button">
<button class="click" onclick="calc()">Click to Convert<span id="coin_name" </span></button>
</div>
<div id="result">
<p id="answer"></p>
</div> <!-- end container -->
</div>
</div>
<!-- End of Converter -->
<script src="./javascript/converter.js"></script>
</body>
</html>