Skip to content

fix(curriculum): audit editable regions for reusable mega navbar#67782

Open
rustom-yadav wants to merge 4 commits into
freeCodeCamp:mainfrom
rustom-yadav:fix/mega-navbar-audit
Open

fix(curriculum): audit editable regions for reusable mega navbar#67782
rustom-yadav wants to merge 4 commits into
freeCodeCamp:mainfrom
rustom-yadav:fix/mega-navbar-audit

Conversation

@rustom-yadav
Copy link
Copy Markdown
Contributor

@rustom-yadav rustom-yadav commented Jun 3, 2026

Checklist:

This PR audits and updates the --fcc-editable-region-- markers for the workshop-reusable-mega-navbar workshop (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).

@rustom-yadav rustom-yadav requested review from a team as code owners June 3, 2026 09:14
@github-actions github-actions Bot added scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. labels Jun 3, 2026
@github-actions

This comment was marked as resolved.

@Jeevankumar-s Jeevankumar-s added status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. frontend libraries v9 cert This is for the issues dealing with the Frontend Libraries V9 Certification. and removed deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. labels Jun 3, 2026
@github-actions github-actions Bot added the deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. label Jun 3, 2026
@gikf gikf added Naomi's Sprints This label is for issues that Naomi is managing through her sprint initiatives on Discord. and removed deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. labels Jun 3, 2026
@github-actions github-actions Bot added the deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. label Jun 3, 2026
Copy link
Copy Markdown
Contributor

@majestic-owl448 majestic-owl448 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@majestic-owl448 majestic-owl448 added status: waiting update Is awaiting update, after feedback or request for changes and removed status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. labels Jun 3, 2026
@rustom-yadav
Copy link
Copy Markdown
Contributor Author

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 ,
thank you for feedback

@rustom-yadav rustom-yadav force-pushed the fix/mega-navbar-audit branch from 46dd978 to 479809a Compare June 3, 2026 12:23
@rustom-yadav rustom-yadav force-pushed the fix/mega-navbar-audit branch from 479809a to a56153f Compare June 4, 2026 05:59
Copy link
Copy Markdown
Contributor

@majestic-owl448 majestic-owl448 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the editable-region audit itself looks good, a couple of pre-existing continuity issues are worth fixing while this block is open:

  1. The Dashboard anchor 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.
  2. 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 to className to 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>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i got this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend libraries v9 cert This is for the issues dealing with the Frontend Libraries V9 Certification. Naomi's Sprints This label is for issues that Naomi is managing through her sprint initiatives on Discord. scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. status: waiting update Is awaiting update, after feedback or request for changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants