Hi! I’ve noticed that the two elements have the same id. This is not a big deal but I think it would be better to change it somehow.
Could you check, please?
Should I add an issue here https://github.com/FreeCodeCamp/freecodecamp/issues?
Description:
In the example for https://www.freecodecamp.org/learn/data-visualization/data-visualization-projects/visualize-data-with-a-scatterplot-graph two elements have the same id = “legend”.
Steps:
- Go to CodePen:
https://codepen.io/freeCodeCamp/full/bgpXyK - Open Dev Tools and inspect “legend” element.
Actual Result: There are two elements with the same id = “legend”.
Test for the User Story #13: I can see a legend containing descriptive text that has
id="legend"
is passing ok.
Expected Result: “id” should be unique.