Skip to content

Indentation and seed continuity audit for workshop-plant-nursery-catalog #69276

Description

@imsomilg

Indentation and seed continuity audit for workshop-plant-nursery-catalog

As part of the editable-region audit tracked in #67721, the workshop-plant-nursery-catalog workshop needs to be audited for two issues:

  1. Indentation — the workshop currently uses 4 spaces instead of the standard 2 spaces, and needs to be corrected throughout.
  2. Seed continuity — some steps are missing empty lines that are present in later steps (or vice versa), causing inconsistent diffs between steps. These need to be reconciled so the seed code flows consistently step to step.

We now have a script that highlights the code changes between steps (credit: majestic-owl448). Here is the link: workshop-seed-diff.js
To use this, save the file in your freeCodeCamp directory and run the following command:

node workshop-seed-diff.js workshop-folder-name

This command will generate a report (you can see an example here). I recommend pasting the output into a GitHub Gist for better readability. Please ensure that all changes are strictly confined to the editable regions.

This issue is part of Naomi's sprint initiatives.

If you are interested in working on this issue, join our Discord and ping Naomi!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Naomi's SprintsThis label is for issues that Naomi is managing through her sprint initiatives on Discord.js v9 certThis is for the JS V9 certification.scope: curriculumLessons, Challenges, Projects and other Curricular Content in curriculum directory.

    Type

    No type

    Projects

    Status
    Ready to Assign

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions