We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Lighthouse says:
[id] attributes on the page are not unique Failing elements: ul#todo-block
I think what's happening here is you've set <ul id="todo-block"></ul> on line 15 of the <index.html> file.
<ul id="todo-block"></ul>
<index.html>
Then in the dom.js file you're referencing it on line 62:
var todoBlock = document.getElementById("todo-block"); `
But then also setting the same id attribute in line 84:
todoListNode.setAttribute("id", "todo-block");
Could get around this by using class instead of id?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Lighthouse says:
I think what's happening here is you've set
<ul id="todo-block"></ul>
on line 15 of the<index.html>
file.Then in the dom.js file you're referencing it on line 62:
But then also setting the same id attribute in line 84:
Could get around this by using class instead of id?
The text was updated successfully, but these errors were encountered: