ADD file via upload

main
fdzcxy212211211 1 month ago
parent f6156df23d
commit 1e9eb37620

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>进制转换工具</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>进制转换工具</h1>
<div class="input-section">
<label for="number-input">输入数字:</label>
<input type="text" id="number-input" placeholder="请输入一个十进制数字">
</div>
<div class="select-section">
<label for="base-select">选择要转换的进制:</label>
<select id="base-select">
<option value="2">二进制</option>
<option value="8">八进制</option>
<option value="16">十六进制</option>
</select>
</div>
<button id="convert-btn">转换</button>
<div class="output-section">
<h2>转换结果:</h2>
<p id="result"></p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
Loading…
Cancel
Save