@vanzasetia
Posted
Hi, Robert Strzelczyk! 👋
I recommend creating the toggle button with two radio inputs. Also, make sure each radio input gets labeled. This way, the users can toggle the price by clicking the labels—annually and monthly.
You can see the Pen of Scott O'Hara (an accessibility expert) for your reference: Radio Toggle Switch
The prices should not be <h3>
elements. I recommend making them <p>
elements instead.
The card should not be <figure>
elements. Only use <figure>
when you need to include a <figcaption>
.
I hope this helps. Happy coding! 😄