New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use disclosure widget to show/hide more details in challenges #54190
Use disclosure widget to show/hide more details in challenges #54190
Comments
Why not make the upper-jaw scrollable? Make it have a fixed height and a shown scrollbar, when needed. |
That doesn't hide the content. The idea is to have more information if the camper needs it, without having it take up space before they need it. Or just quickly toggle it visible/hidden as needed. |
Could you please provide a more detailed explanation of the issue. Also can you please provide the links to the respeccive pages where the changes are required.In the link https://www.freecodecamp.org/learn/ I donot see summary in it. |
Okay so near as I can tell, we want the code examples collapsible. Which seems to be coming from right around here right? https://github.com/freeCodeCamp7/freeCodeCamp/blob/1cab4b5797a50618ab51dc91441167e983e3f715/client/src/templates/Challenges/components/prism-formatted.tsx But here might be better too, as it sets up the examples. https://github.com/freeCodeCamp/freeCodeCamp/blob/1cab4b5797a50618ab51dc91441167e983e3f715/client/src/templates/Challenges/utils/index.ts |
Related: #52954 |
Describe the Issue
I can't remember if we have talked about this before.
With the current editor layout explaining a concept and giving example code can get awkward. Because the instructions are inside the code it can push the code too far away from the instructions.
It would be nice to have the option to disclose more details and example code in the challenge text.
Affected Page
https://www.freecodecamp.org/learn
Your code
Expected behavior
Less shallow explanations because of limitations in the layout and allowing the camper to disclose more details as needed.
Screenshots
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: