added table for test

This commit is contained in:
yoannchb-pro
2024-03-20 17:47:49 -04:00
parent 9d8ce23c97
commit c4669d58f5
2 changed files with 55 additions and 0 deletions
+21
View File
@@ -69,3 +69,24 @@ textarea {
img { img {
height: 5rem; height: 5rem;
} }
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
th,
td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
+34
View File
@@ -269,6 +269,40 @@
</div> </div>
</section> </section>
<!--Table -->
<section class="formulation">
<div class="qtext">
<p>Give me the id of the personn who have a car</p>
<table>
<thead>
<tr>
<th>id</th>
<th>name</th>
<th>birthDate</th>
<th>cars</th>
</tr>
</thead>
<tbody>
<tr>
<td>Person 1</td>
<td>Yvick</td>
<td>15/08/1999</td>
<td>yes</td>
</tr>
<tr>
<td>Person 2</td>
<td>Yann</td>
<td>19/01/2000</td>
<td>no</td>
</tr>
</tbody>
</table>
</div>
<div>
<textarea></textarea>
</div>
</section>
<!-- Contenteditable --> <!-- Contenteditable -->
<section class="formulation"> <section class="formulation">
<div class="qtext"> <div class="qtext">