[Learn] Remove redundant "type=text/javascript" in inline scripts
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- documentation
Research direction
Open the Updating UI with JavaScript lesson linked in the issue and find the inline script example containing type="text/javascript". Remove the redundant attribute so the example uses a plain script element, then review the rendered lesson or documentation checks to confirm the example remains valid.
Written by the indexing model from the issue text.
Description
The example code in Updating UI with JavaScript currently uses:
<script type="text/javascript"></script>
As per the HTML5 spec:
"Authors should omit the type attribute instead of redundantly setting it."
Suggested fix:
- <script type="text/javascript"></script>
+ <script></script>
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vercel/next-learn
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vercel/next-learn#1326 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
vercel/next-learn#1316 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
vercel/next-learn#1297 · 2 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
vercel/next-learn#1136 · 2 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
vercel/next-learn#1113 ·
All issues in vercel/next-learn
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100