calculadora.html 1.2 KB
Newer Older
roshka committed
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Calculadora</title>
    <link rel="stylesheet" type="text/css" href="calcu.css">
</head>
<body onload="variables();">
    <center>
    <h1>CALCULADORA Improvisada</h1>
    <div class="calculadora">
        <div>
        <table>
            <tr>
                <td colspan="4"><span id="resultado"></span></td>
            </tr>
        </table>
        </div>
        <br>
        <button id="borrar">CE</button>
        <button id="division">/</button>
        <button id="multi">*</button>
        <br>
        <button id="siete">7</button>
        <button id="ocho">8</button>
        <button id="nueve">9</button>
        <button id="resta">-</button>
        <br>
        <button id="cuatro">4</button>
        <button id="cinco">5</button>
        <button id="seis">6</button>
        <button id="suma">+</button>
        <br>
        <button id="uno">1</button>
        <button id="dos">2</button>
        <button id="tres">3</button>
        <button id="igual">=</button>
        <br>
        <button id="cero">0</button>
        <button id="punto">.</button>
    </div>
    </center>
    <script src="funciones.js"></script>
</body>
</html>