Design comparison
SolutionDesign
Solution retrospective
i tried this challange with React js first time but i'm not competent of react js,please if you have feedback or advice tell me to improve my skill thanks
Community feedback
- @renrasPosted almost 3 years ago
refrain from using dom methods as it defeats the purpose of react
when it comes to toggling classnames you can use a ternary operator inside a string literal instead.
const [showModal, setShowModal] = useState(true); <Modal className=`${showModal ? 'block' : 'hidden'}` />
1 - @mrvicthorPosted almost 3 years ago
Hi, great work. I observed that your buttons are not the same size, and your nav menu items are quite bolder than what is specified in the design.
1@fadelunPosted almost 3 years ago@mrvicthor yeah i think to learn more tailwind css especially for this case , thanks brother
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