Latest comments
- @jojomanurung@MilosSimic994
Hello Joshua, you can add to the `.paga { display: flex; align-item: center; justify-content: center; } it will solve the problem of centering card on all screens.
as @pikamart mentioned you can definitely explore @media.
- @arturpawlowski5@MilosSimic994
HI Artur,
Your solution looks great.
As for JS, instead of adding 'display: flex' to #active, you can try to create an class active with 'display:flex', that you will add to the element you want to display in your case #active, in the function togg '{ element.classList.toggle("active") }' So it will add end remove a class that displays the element on each click as needed.