Skip to main content
๐Ÿ› Bug HuntHT HTML Hardโšก+35 XP

Duplicate IDs

JavaScript only finds one of these elements.

๐Ÿ› Find the bug
1<div id="card">Product 1</div>
2<div id="card">Product 2</div>
๐Ÿ› The bug is on line 2

๐Ÿ”ง Select the correct fix: