fix(curriculum): audit editable regions for reusable mega navbar#67782
fix(curriculum): audit editable regions for reusable mega navbar#67782rustom-yadav wants to merge 4 commits into
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
majestic-owl448
left a comment
There was a problem hiding this comment.
please also update step 5, and make sure to include indentation inside the editable region so that the learner does not need to think abou that
yes i did this , |
46dd978 to
479809a
Compare
479809a to
a56153f
Compare
majestic-owl448
left a comment
There was a problem hiding this comment.
While the editable-region audit itself looks good, a couple of pre-existing continuity issues are worth fixing while this block is open:
- The
Dashboardanchor is written with single quotes (<a href='/browse?url=https%3A%2F%2Fgithub.com%2FfreeCodeCamp%2FfreeCodeCamp%2Fpull%2F67782%23'>Dashboard</a>) in steps 6, 7, 8, 9, 10, and 11 (including step 11's solution block), while every other anchor in the workshop uses double quotes. Please normalize it to<a href="/browse?url=https%3A%2F%2Fgithub.com%2FfreeCodeCamp%2FfreeCodeCamp%2Fpull%2F67782%23">Dashboard</a>everywhere for consistency with the rest of the block and the JS style guide. I left an inline suggestion on step 6. - Step 9 (
6745dce846995b2a466594be.md, line 150) uses<nav class="navbar">, while every other step and the final solution use<nav className="navbar">. Please change it toclassNameto keep the steps consistent and avoid the React invalid-attribute warning.
| @@ -164,11 +164,13 @@ export const Navbar = () => { | |||
| <li className="nav-item"> | |||
| <a href='#'>Dashboard</a> | |||
There was a problem hiding this comment.
| <a href='#'>Dashboard</a> | |
| <a href="#">Dashboard</a> |
For consistency with every other anchor in this workshop (which use double quotes) and the JS style guide, please use double quotes here. Please fix also in steps 7, 8, 9, 10, and 11 (including the solution block in step 11), which use single quotes for this anchor too.
There was a problem hiding this comment.
yeah i got this
Checklist:
mainbranch of freeCodeCamp.This PR audits and updates the
--fcc-editable-region--markers for theworkshop-reusable-mega-navbarworkshop (part of the v9 Front-End Development Libraries superblock).As per the curriculum audit guidelines, the markers have been adjusted to strictly wrap only the specific lines/blocks that a camper needs to modify for each step, removing any unnecessary context or unchanged boilerplate lines.
Related Issues
References #67721 (Part of Naomi's Contribution Sprints — v9 workshops audit).