0
0
Bootsrapmarkup~20 mins

Bordered and borderless tables in Bootsrap - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Bootstrap Table Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
rendering
intermediate
2:00remaining
What does this Bootstrap table look like?
Given the following HTML code using Bootstrap classes, what visual style will the table have when rendered in a browser?
Bootsrap
<table class="table table-bordered">
  <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>
AThe table has borders around each cell and the entire table.
BThe table has no borders at all, just plain text.
CThe table has only horizontal lines separating rows, no vertical borders.
DThe table has striped rows with alternating background colors but no borders.
Attempts:
2 left
💡 Hint
The class 'table-bordered' adds borders around table cells.
🧠 Conceptual
intermediate
1:30remaining
Which Bootstrap class removes all borders from a table?
You want a table with no visible borders or lines between cells. Which Bootstrap class should you add to the table element?
Atable-bordered
Btable-striped
Ctable-borderless
Dtable-hover
Attempts:
2 left
💡 Hint
Look for a class name that suggests 'no borders'.
📝 Syntax
advanced
2:00remaining
Identify the error in this Bootstrap table code
What error will this code cause when rendered in a browser?
Bootsrap
<table class="table table-borderless">
  <thead>
    <tr><th>Name</th><th>Age</th></tr>
  </thead>
  <tbody>
    <tr><td>John</td><td>40</td></tr>
  </tbody>
</table>
AThe table will render normally with no errors.
BThe table header 'Name' cell is missing a closing </th> tag, causing rendering issues.
CThe table body row has mismatched <td> tags causing a syntax error.
DThe class 'table-borderless' is invalid and will cause a CSS error.
Attempts:
2 left
💡 Hint
Check if all HTML tags are properly closed.
selector
advanced
1:30remaining
Which CSS selector targets only borderless tables in Bootstrap?
You want to write custom CSS that only applies to Bootstrap tables without borders. Which selector correctly targets these tables?
Atable.table-striped
Btable.table-bordered
C.table-borderless > tbody > tr > td
Dtable.table-borderless
Attempts:
2 left
💡 Hint
Look for the class that means borderless and select the table element.