11 lines
173 B
JavaScript
11 lines
173 B
JavaScript
{faa21fe43d5eb7720c6d1f7dbd234694be871b28 true 173 main.js 0xc002bb65b0}
let card = document.querySelector('.card');
|
|
let toggle = document.querySelector('.toggle');
|
|
|
|
toggle.onclick = function(){
|
|
card.classList.toggle('active');
|
|
}
|
|
|
|
|
|
|
|
|