User:Sur/Hero Comparison: Difference between revisions
< User:Sur
Created page with "<form id="inputForm"> <label for="inputValue">Enter a value:</label> <input type="text" id="inputValue" name="inputValue"> <button type="button" onclick="storeValue()">Submit</button> </form> <!-- Placeholder to display the stored value --> <p>Stored value: {{#var:storedValue}}</p>" |
mNo edit summary |
||
Line 1: | Line 1: | ||
<!-- | {{#vardefine: userInput | }} <!-- Define the variable but leave it empty for now --> | ||
< | |||
<p id="display"></p> <!-- Element where we will display the stored value --> | |||
<button onclick="storeInput()">Enter Input</button> |
Revision as of 00:08, 23 September 2024
<button onclick="storeInput()">Enter Input</button>