-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (34 loc) · 1.8 KB
/
index.html
File metadata and controls
38 lines (34 loc) · 1.8 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description"
content="Create a Binary Converter using JavaScript to convert numbers between binary and decimal." />
<meta name="keywords" content="Binary Converter, JavaScript, web app, data conversion, educational tool" />
<meta property="og:title" content="Binary Converter" />
<meta property="og:description"
content="Create a Binary Converter using JavaScript to convert numbers between binary and decimal." />
<meta property="og:image" content="https://coderespite.com/image/js-projects/binary-converter.png" />
<meta property="og:url" content="https://coderespite.com/projects/js-projects/binary-converter" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Binary Converter" />
<meta name="twitter:description"
content="Create a Binary Converter using JavaScript to convert numbers between binary and decimal." />
<meta name="twitter:image" content="https://coderespite.com/image/js-projects/binary-converter.png" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Decimal to Binary Converter</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1>Decimal to Binary Converter</h1>
<div class="input-container">
<label for="number-input">Enter a decimal number:</label>
<input value="" type="number" name="decimal number input" id="number-input" class="number-input" />
<button class="convert-btn" id="convert-btn">Convert</button>
</div>
<output id="result" for="number-input"></output>
<div id="animation-container"></div>
<script src="script.js"></script>
</body>
</html>