Prototipo di funzionamento dei bottoni e delle posizioni
This commit is contained in:
37
index.html
37
index.html
@@ -1,11 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html" charset="utf-8">
|
||||
<title>Titolo</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html" charset="utf-8" />
|
||||
<title>Titolo</title>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<script src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="calcolatrice">
|
||||
<div class="pulsanti">
|
||||
<input id="output" type="text" readonly maxlength="44" />
|
||||
<button id="sette" onclick="Bottone(this)">7</button>
|
||||
<button id="otto" onclick="Bottone(this)">8</button>
|
||||
<button id="nove" onclick="Bottone(this)">9</button>
|
||||
<button id="diviso" onclick="Bottone(this)">÷</button>
|
||||
<button id="quattro" onclick="Bottone(this)">4</button>
|
||||
<button id="cinque" onclick="Bottone(this)">5</button>
|
||||
<button id="sei" onclick="Bottone(this)">6</button>
|
||||
<button id="per" onclick="Bottone(this)">×</button>
|
||||
<button id="uno" onclick="Bottone(this)">1</button>
|
||||
<button id="due" onclick="Bottone(this)">2</button>
|
||||
<button id="tre" onclick="Bottone(this)">3</button>
|
||||
<button id="meno" onclick="Bottone(this)">-</button>
|
||||
<button id="zero" onclick="Bottone(this)">0</button>
|
||||
<button id="virgola" onclick="Bottone(this)">.</button>
|
||||
<button id="uguale" onclick="Bottone(this)">=</button>
|
||||
<button id="più" onclick="Bottone(this)">+</button>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user