Design comparison
Community feedback
- @MahmoodHashemPosted 5 days ago
Great job 👏
You could also practice toggling prices without using javascript by CSS like this:
.card .basic::after{ content: '19.99'; } .card .professional::after{ content: '24.99'; } .card .master::after{ content: '39.99' ; } main:has(.toggle-input:checked) .card .basic::after { content: '199.99' } main:has(.toggle-input:checked) .card .professional::after{ content: '249.99'; } main:has(.toggle-input:checked) .card .master::after{ content: '399.99'; }
Good luck
Marked as helpful2@xStephxPosted 4 days ago@MahmoodHashem thank you so much for your feedback! I will try that method in some future project, it looks interesting. if you have any other suggestion feel free to text me!
1 - @Abdalla2200Posted about 9 hours ago
Great job, but I have a question: how do you use customized styles in config.js with CDN? I'm trying to use it, but the styles don't appear on the website. i also copied your config.js code but didn't work
1@xStephxPosted about 3 hours ago@Abdalla2200 thank you for your feedback! About using customized styles use
tailwind.config.js
, if is not working like in my configuration, try to use their examples form their official docs. If you have any other questions feel free to text me!0 - @Richard1876Posted 5 days ago
Group study to share ideas
1 - @Richard1876Posted 5 days ago
would you like to team up
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord