haquanq• 425
@haquanq
Posted
Good work!, here is my answers to your questions:
- Add a
transition:
to the element that will change it's properties when somthing is toggled. - Instead of using
border:
, you can use adiv
orspan
instead and style it. - If you don't have any kind of data relate to the value that display, you should create one and based on that to toggle DOM Element style.
Marked as helpful
1