Widget:Calculator/Experience: Difference between revisions

Created page with "<html> <h2>Highspell Exp Calculator!</h2> <p>Enter your current Xp, then the level you're aiming for to see the Xp remaining.</p> <form> Current Xp: <input type="number" id="currentXp" value="0" min="0"><br> Desired Level: <input type="number" id="desiredLevel" value="1" min="1" max="100"><br> Required Xp: <span id="xpRemaining">—</span> </form> <p>From here you can enter the Xp gained per action, to work out how many actions remain! (i.e. how many more fish u..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html>
<html>
<h2>Highspell Exp Calculator!</h2>
<p>Enter your current Xp, then the level you're aiming for to see the Xp remaining.</p>
<form>
<form>
   Current Xp: <input type="number" id="currentXp" value="0" min="0"><br>
   Current XP: <input type="number" id="currentXp" value="0" min="0"><br>
   Desired Level: <input type="number" id="desiredLevel" value="1" min="1" max="100"><br>
   Desired Level: <input type="number" id="desiredLevel" value="1" min="1" max="100"><br>
   Required Xp: <span id="xpRemaining">—</span>
   Required XP: &nbsp; <b id="xpRemaining">—</b>
</form>
</form>
 
<p>From here you can enter the experience gained per action, to work out how many actions remain! (i.e. how many more fish until your goal)</p>
<p>From here you can enter the Xp gained per action, to work out how many actions remain! (i.e. how many more fish until your goal)</p>
 
<form>
<form>
   Xp per action: <input type="number" id="xpPerAction" value="1" min="1"><br>
   XP / Action: <input type="number" id="xpPerAction" value="1" min="1"><br>
   Actions Remaining: <span id="actionsRemaining">—</span>
   Actions Remaining: &nbsp; <b id="actionsRemaining">—</b>
</form>
</form>
<script>
<script>
const xpTable = {
const xpTable = {