Login Form
October 18, 2024
const signInBtnLink = document.querySelector('.signInBtn-link'); const signUpBtnLink = document.querySelector('.signUpBtn-link'); const wrapper = document.querySelector('.wrapper'); signUpBtnLink.addEventListener('click', () => { wrapper.classList.toggle('active'); }); signInBtnLink.addEventListener('click', () => { wrapper.classList.toggle('active'); });