diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-09-19 18:44:57 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-09-19 18:44:57 +0300 |
commit | ffdb767de352bb82253e241b6ad996e7b06fee17 (patch) | |
tree | 54db5f88b38025db883a2a6ef46be32edba2ec67 /rannak/mangud/perenaine/ristsona/script.js | |
parent | 40d015a15bee7d0a51c28e20c29ff7045419b8f5 (diff) |
ristsõna css done
Diffstat (limited to 'rannak/mangud/perenaine/ristsona/script.js')
-rw-r--r-- | rannak/mangud/perenaine/ristsona/script.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rannak/mangud/perenaine/ristsona/script.js b/rannak/mangud/perenaine/ristsona/script.js index eac2fc2..01f4ad5 100644 --- a/rannak/mangud/perenaine/ristsona/script.js +++ b/rannak/mangud/perenaine/ristsona/script.js @@ -1,6 +1,14 @@ console.log("Brrrr");; let counter = 0; +function getInputValue() { + // Selecting the input element and get its value + let inputVal = document.getElementById("inputId").value; + // Displaying the value + alert(inputVal); + } + + // Button func function moveOnEnable(){ |