summaryrefslogtreecommitdiff
path: root/rannak/mangud/perenaine/ristsona/script.js
blob: 01f4ad57b3355a211db321433a10870a8da41887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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(){
	const button = document.querySelector(".btn");
	button.classList.remove('disabled');
	button.setAttribute('aria-disabled', false);
	console.log("done");

	counter = 0;
}