Skip to content

fix(curriculum): restore event target examples - #69714

Merged
majestic-owl448 merged 1 commit into
freeCodeCamp:mainfrom
barry166:fix/69690-event-target-examples
Aug 24, 2026
Merged

majestic-owl448 merged 1 commit into
freeCodeCamp:mainfrom
barry166:fix/69690-event-target-examples

Conversation

@barry166

Copy link
Copy Markdown
Contributor

Checklist:

Closes #69690

The interactive editor already uses the short p identifier, preventing the lesson examples from binding their paragraph element. This renames that binding to paragraph consistently across all examples on the page so the event listeners run and log their targets.

Tests:

  • 103 targeted curriculum tests
  • Prettier check for the changed lesson
  • git diff --check

The interactive editor reserves the short `p` identifier, so the lesson's
scripts did not bind the paragraph element as intended. Use a descriptive
identifier consistently across every example on the page.

Constraint: Keep the lesson behavior and prose unchanged.
Confidence: high
Scope-risk: narrow
Tested: 103 targeted curriculum tests; Prettier; diff check
Related: freeCodeCamp#69690
@barry166
barry166 requested review from a team as code owners August 24, 2026 14:42
@github-actions github-actions Bot added the scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. label Aug 24, 2026

@majestic-owl448 majestic-owl448 left a comment

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.

Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 🎉

@majestic-owl448
majestic-owl448 enabled auto-merge (squash) August 24, 2026 14:59
@majestic-owl448
majestic-owl448 merged commit 1e05bd7 into freeCodeCamp:main Aug 24, 2026
16 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The interactive editor is not logging event targets in the examples

2 participants