Coding-Coach / Coding-Coach/coding-coach

Repeated id (<title id="title">...</title>

Open
#435 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
452
Forks
157
PR merge metrics
No merged PRs in 30d

Description

There is a repeated id in your page, the id="title". According to what we have seen this happens because you are placing it in the return of your Icon function which is bequeathing it to all generated SVGs. (src/components/Icon/index.js, line 28)

We tried fixing it but we are unable to deploy the page, so we didn't want to leave you with additional issues in your code.

We hope this will be of help!

Contributor guide

Open the contributing guide

Research direction

Open src/components/Icon/index.js at line 28 and inspect how the Icon function adds id="title" to generated SVGs. Reproduce or inspect the rendered page to confirm repeated IDs, then verify that the page contains no duplicate title IDs after the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.