added table for test
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user