lab started
This commit is contained in:
13
labs/lab3/JavaScript/main.js
Normal file
13
labs/lab3/JavaScript/main.js
Normal file
@@ -0,0 +1,13 @@
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
showTable('build', buildings);
|
||||
let tableIsDisplayed = true;
|
||||
tableVisibilityButton.addEventListener("click",()=>{
|
||||
if(tableIsDisplayed){
|
||||
|
||||
}else{
|
||||
showTable('build', buildings);
|
||||
}
|
||||
|
||||
} )
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user