6 lines
178 B
JavaScript
6 lines
178 B
JavaScript
{a761ceeba778296ceca48cb8a98457fe4e4e6540 true 178 main.js 0xc002b17500}
|
|
let toggle = document.querySelector('.toggle');
|
|
let container = document.querySelector('.container');
|
|
toggle.onclick = function(){
|
|
container.classList.toggle('active');
|
|
} |