question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Standardize links in curriculum

See original GitHub issue

The curriculum (project and challenge pages) contain links to various places; github, codepen, replit, etc. Sometimes they open in a new tab, sometimes not. Sometimes they contain rel="noopener noreferrer", sometimes not.

We could go through and make them all consistent? Adding target="_blank" rel="noopener noreferrer nofollow" to all of them?

Here’s a good article explaining the rel values

Not sure what we all want to use. I think we could make them all open in a new tab at the least.


Edit:

For links with these format, [hexadecimal numbers here](https://www.freecodecamp.org/news/hexadecimal-number-system/) regex /\[(.*?)\]\((.*?)\)/gm should target them and <a href="$2"target="_blank" rel="noopener noreferrer nofollow">$1</a> will swap them into <a href="https://www.freecodecamp.org/news/hexadecimal-number-system/"target="_blank" rel="noopener noreferrer nofollow">hexadecimal numbers here</a>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Sboonnycommented, Jun 19, 2022

Thank you for bringing this up, I will update it

1reaction
sidemtcommented, Jun 15, 2022

Thank you all for working on this! I noticed an issue with regards to translation.

It looks like if you nest markdown syntax within HTML tags, Crowdin (translation tool) can’t parse them properly.

For example, the string below in this file:

Remember that <a href="https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/understanding-uninitialized-variables" target="_blank" rel="noopener noreferrer nofollow">`undefined` is a keyword</a>, not a string.

will appear like below on Crowdin, which does not trigger the QA check for <code> tags. (Crowdin link) image

It should work correctly if you change the backticks to <code> tags.

Note: Backticks work fine when they are not inside HTML tags.

Read more comments on GitHub >

github_iconTop Results From Across the Web

standardizecurriculum - Critical Links
Standardized curriculum is the idea that all schools in the same country should follow the same learning plan, so that students in any...
Read more >
Education Standardization: Essential or Harmful? | Getting Smart
Curriculum standardization de-professionalizes teaching by marginalizing the professional judgment, experience, and skill of teachers (to the ...
Read more >
What is Standardized Curriculum - IGI Global
Definition of Standardized Curriculum: Speaks to the notion that all schools should be guided by expectations for specific knowledge, skills, ...
Read more >
Don't standardize education, personalize it
The key to this transformation is not to standardize education but to personalize it, to build achievement on discovering the individual ...
Read more >
Hyper-curriculum: Transcending borders of standardization in ...
IJCI. International Journal of. Curriculum and Instruction. Hyper-curriculum: Transcending borders of standardization in the cosmopolitan classroom.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found