Battery Calculator
super-embed:
<form>
<label for="cell-voltage">Cell Voltage:</label>
<input type="number" id="cell-voltage" name="cell-voltage" oninput="calculateBattery()" value="3.7" step=".1" />
<button type="button" onclick="clearCellVoltage()">Clear</button><br><br>
<label for="cell-count">Cell Count:</label>
<input type="number" id="cell-count" name="cell-count" oninput="calculateBattery()" />
<button type="button" onclick="clearCellCount()">Clear</button><br><br>
<label for="mah">mAh:</label>
<input type="number" id="mah" name="mah" oninput="calculateBattery()" />
<button type="button" onclick="clearMah()">Clear</button><br><br>
</form>
<br>
<p id="result"></p>