11 lines
315 B
JavaScript
11 lines
315 B
JavaScript
{f2d177a4609df3dc12547acdf1a3fc1d6805174e true 315 main.js 0xc002a3b2d0}
const open = document.getElementById("open");
|
|
const container = document.getElementById("container");
|
|
const close = document.getElementById("close");
|
|
|
|
open.addEventListener('click', ()=> {
|
|
container.classList.add('show')
|
|
});
|
|
close.addEventListener('click', ()=> {
|
|
container.classList.remove('show')
|
|
});
|