I am working on the “Toggle Text App - Step 5” challenge. I created the isVisible state and used isVisible && <p className="message">I love Pakistan</p> so the paragraph only shows when isVisible is true. The text is hidden on initial load and appears when I click the button, but the test still does not pass and I am not sure what I am doing wrong or what exact change the step expects
Welcome to the forum @minahilmunnir07 !
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge.
The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Thank you.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.

