@EthanJustice/

Exponent Calculator

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • script.js
  • style.css

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.47991679999561176","path":"index.html","file":{"path":"index.html","content":{"asEncoding":{"base64":"PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPG1ldGEgY2hhcnNldD0idXRmLTgiPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCI+CiAgICA8dGl0bGU+RXhwb25lbnQgQ2FsdWNsYXRvcjwvdGl0bGU+CiAgICA8bGluayBocmVmPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2d5ci1jc3NAMS42LjAvZGlzdC9kYXJrLXNvbGFyaXplZC5taW4uY3NzIiByZWw9InN0eWxlc2hlZXQiIHR5cGU9InRleHQvY3NzIiAvPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxkaXYgY2xhc3M9Im1haW4tYXJlYSI+CiAgICAgIDxoMT5FeHBvbmVudCBDYWxjdWxhdG9yPC9oMT4KICAgICAgPGlucHV0IHR5cGU9Im51bWJlciIgcGxhY2Vob2xkZXI9IkJhc2UiIGlkPSJiYXNlIj4KICAgICAgPGlucHV0IHR5cGU9Im51bWJlciIgcGxhY2Vob2xkZXI9IkV4cG9uZW50IiBpZD0iZXhwbyI+CiAgICAgIDxpbnB1dCB0eXBlPSJzdWJtaXQiIHZhbHVlPSJDYWxjdWxhdGUiIG9uY2xpY2s9InJ1bigpIj4KICAgICAgPGgyIGlkPSJhbnN3ZXIiPkFuc3dlcjogPC9oMj4KICAgICAgPGgxPlNxdWFyZSBSb290IENhbGN1bGF0b3I8L2gxPgogICAgICA8aW5wdXQgdHlwZT0ibnVtYmVyIiBwbGFjZWhvbGRlcj0iTnVtYmVyIiBpZD0ic3FydC1udW0iPgogICAgICA8aW5wdXQgdHlwZT0ic3VibWl0IiB2YWx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XAiPjwvaDM+CiAgICA8L2Rpdj4KICAgIDxzY3JpcHQgc3JjPSJzY3JpcHQuanMiPjwvc2NyaXB0PgogIDwvYm9keT4KPC9odG1sPg=="},"asBuffer":null},"loaded":true}}
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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Exponent Caluclator</title>
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/dark-solarized.min.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div class="main-area">
      <h1>Exponent Calculator</h1>
      <input type="number" placeholder="Base" id="base">
      <input type="number" placeholder="Exponent" id="expo">
      <input type="submit" value="Calculate" onclick="run()">
      <h2 id="answer">Answer: </h2>
      <h1>Square Root Calculator</h1>
      <input type="number" placeholder="Number" id="sqrt-num">
      <input type="submit" value="Calculate" onclick="runSqrt()">
      <h2 id="sqrt-answer">Answer: </h2>
    </div>
    <hr>
    <div class="expo-calc">
      <input class="inp-two" type="number" placeholder="Base 1" id="expo-calc-base-one">
      <input class="inp-two" type="number" placeholder="Exponent 1" id="expo-calc-expo-one"><br>
      <input class="inp-two" type="number" placeholder="Base 2" id="expo-calc-base-two">
      <input class="inp-two" type="number" placeholder="Exponent 2" id="expo-calc-expo-two"><br>
      <input type="radio" name="expo-calc-op" value="Multiplication">Multiplication<br>
      <input type="radio" name="expo-calc-op" value="Division">Division<br>
      <input type="submit" value="Calculate" onclick="runExpoCalc()">
      <h3 id="expo-calc-answer">Answer: </h3><h3 id="sup expo-calc-sup"></h3>
    </div>
    <script src="script.js"></script>
  </body>
</html>
result
console