Exercise:
Use the correct selector to hide all odd table rows.
Syntax hint: $("
element
:odd")
Edit This Code:
See Result »
Company
Country
Alfreds Futterkiste
Germany
Berglunds snabbköp
Sweden
Centro comercial Moctezuma
Mexico
Ernst Handel
Austria
Island Trading
UK
Result:
Show Answer
Correct Code:
Company
Country
Alfreds Futterkiste
Germany
Berglunds snabbköp
Sweden
Centro comercial Moctezuma
Mexico
Ernst Handel
Austria
Island Trading
UK
Correct Result:
Hide Answer