Complete the code to add Bootstrap's striped style to the table.
<table class="table [1]"> <tr><td>Row 1</td></tr> <tr><td>Row 2</td></tr> </table>
Adding table-striped class makes the table rows alternate in background color, creating a striped effect.
Complete the code to add Bootstrap's hover effect to the table rows.
<table class="table [1]"> <tr><td>Row 1</td></tr> <tr><td>Row 2</td></tr> </table>
The table-hover class adds a highlight effect when you move your mouse over table rows.
Fix the error in the table class to apply both striped and hover styles.
<table class="table [1]"> <tr><td>Row 1</td></tr> <tr><td>Row 2</td></tr> </table>
Bootstrap requires separate classes for striped and hover effects, separated by spaces. The correct order is table-striped table-hover.
Fill both blanks to create a table with striped rows and hover effect.
<table class="table [1] [2]"> <thead> <tr><th>Name</th><th>Age</th></tr> </thead> <tbody> <tr><td>Alice</td><td>30</td></tr> <tr><td>Bob</td><td>25</td></tr> </tbody> </table>
Use table-striped for striped rows and table-hover for hover effect together.
Fill all three blanks to create a responsive table with striped rows and hover effect.
<div class="[1]"> <table class="table [2] [3]"> <thead> <tr><th>Product</th><th>Price</th></tr> </thead> <tbody> <tr><td>Book</td><td>$10</td></tr> <tr><td>Pen</td><td>$2</td></tr> </tbody> </table> </div>
The table-responsive class makes the table scroll horizontally on small screens. Combine it with table-striped and table-hover for styling.