Skip to content
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

Factory Functions and the Module Pattern lesson: Change broken link #28327

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

dot-sky
Copy link
Contributor

@dot-sky dot-sky commented Jul 1, 2024

Because

The "Factory Functions and the Module Pattern" lesson had a broken link in the "Describe IIFEs and what they stand for" bullet point.

This PR

  • Change bullet point link to relevant section in the lesson.

Issue

Closes #28324

Additional Information

Pull Request Requirements

  • I have thoroughly read and understand The Odin Project curriculum contributing guide
  • The title of this PR follows the location of change: brief description of change format, e.g. Intro to HTML and CSS lesson: Fix link text
  • The Because section summarizes the reason for this PR
  • The This PR section has a bullet point list describing the changes in this PR
  • If this PR addresses an open issue, it is linked in the Issue section
  • If any lesson files are included in this PR, they have been previewed with the Markdown preview tool to ensure it is formatted correctly
  • If any lesson files are included in this PR, they follow the Layout Style Guide

@github-actions github-actions bot added the Content: JavaScript Involves the JavaScript course label Jul 1, 2024
The header contains a dash '-' that causes the automatically generated fragment to don't match the link to the header:
	generated fragment link: '#the-module-pattern---iifes'
	correct link: '#the-module-pattern-iifes'
By using the correct link as an id in the header both links will match
MaoShizhong
MaoShizhong previously approved these changes Jul 2, 2024
Copy link
Contributor

@MaoShizhong MaoShizhong left a comment

Choose a reason for hiding this comment

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

🚀

@MaoShizhong MaoShizhong dismissed their stale review July 2, 2024 00:33

Just realised the id/fragment change is redundant

@MaoShizhong MaoShizhong merged commit 55eb6ab into TheOdinProject:main Jul 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content: JavaScript Involves the JavaScript course
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Factory Functions and the Module Pattern: Broken link in Knowledge Check section
3 participants