Submitted over 1 year ago
Interactive card component using bootstrap and Javascript
@mannyAndem
Design comparison
SolutionDesign
Solution retrospective
Used bootstrap to create the card component. I'm extremely new to using bootstrap and would like feedback on best practices and better ways of customising the framework.
Community feedback
- @ZorbiksPosted 3 months ago
Don't use JavaScript to change CSS of elements but toggle classes
For example don't change the background color of an element with JS when you click on it instead add a class like
.active
which has background color & color etc...And try to be as close to the design.
Good work.
0
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