使用JS和HTML写一个计算器
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<title>ES6</title>
</head>
<body>
<h2>
计算器
</h2>
<input id="oneNumber"/>
<select id="oper">
<option >+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input id = "twoNumber"/>= <input id= "result"/>
<button onclick="count()"> 计算 </button>
<script>
function count(){
const a = document.getElementById("oneNumber").value
const b = document.getElementById("twoNumber").value
const c = document.getElementById("oper").value