Hi guys,
I would like an assessment for structuring planet data.
Here is the live page.
Here is the code.
Thanks!
Fahed
Hi guys,
I would like an assessment for structuring planet data.
Here is the live page.
Here is the code.
Thanks!
Fahed
Hi @Phayzor
Good job! Your code looks like requested. I found a few things regarding the structure:
</br>
. This should just be <br>
. Sometimes you see <br />
in older HTML which is also valid but not needed anymore.<th>
for rows and columns, it’s recommended to add scope
attributes to make sure screen readers understand the structure. Example:<tr>
<th rowspan="2" scope="rowgroup">Ice giants</th>
<th scope="row">Uranus</th>
<td>86.8</td>
...
</tr>
<colgroup>
only defines four columns. This should look like this:<colgroup>
<col span="2">
<col style="border: 2px solid black">
<col span="9">
</colgroup>
Generally it’s a good idea to run your HTML through the W3C HTML Validator to catch such small mistakes.
I hope that helps
Have a nice day!
Michael
welcome back boss @mikoMK
Hi @mikoMK,
Cheers for the advice, I really appreciate it. I have updated the code on github to reflect your changes.
Fahed
Thanks @justsomeone
If someone should ever be called “boss” it’s you for the endless hours you have spent helping others
you very welcome
and as i told you before i just let the keyboard spam the forum
and i learned a lot for you and from other people also
Congratulations @Phayzor!
Great work on the improvements.
I just spotted a small thing I missed before. The <th>
s inside <thead>
aren’t wrapped with <tr>
. Apart from that it’s perfect