Hey, Cris Mills!
Could you look my code?
Hi there @zenya!
I have looked through your code, and it loooks really good. Well done on some great work.
If you look at my version, there are a couple of small differences, but nothing really major:
- Iâve used the
scope="rowgroup"
attribute on all headers that span multiple rows. - I wasnât sure why you included an asterisk (
*
) after âDwarf planetsâ.
Thanks a lot. I understood my mistake!
Hi everyone.
That is my html markup with table on github Table - Structuring planet data
Could someone check it and give assessment?
bonjour! je souhaite ĂȘtre Ă©valuer sur âdonnĂ©es structurantes de la planĂšteâ merci beaucoup, je ne sais pas pourquoi la troisiĂšme colonne ne peut pas ĂȘtre styliser avec une bordure noir
Table templateTable template
Data about the planets of our solar system (Planetary facts taken from Nasa's Planetary Fact Sheet - Metric).Name | Mass (1024kg) | Diameter (km) | Density (kg/m3) | Gravity (m/s2) | Length of day (hours) | Distance from Sun (106km) | Mean temperature (°C) | Number of moons | Notes | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Terrestrial planets | Mercury | 0.330 | 4,879 | 5427 | 3.7 | 4222.6 | 57.9 | 167 | 0 | Closest to the Sun | |
Venus | 4.87 | 12,104 | 5243 | 8.9 | 2802.0 | 108.2 | 464 | 0 | |||
Earth | 5.97 | 12,756 | 5514 | 9.8 | 24.0 | 149.6 | 15 | 1 | Our world | ||
Mars | 0.642 | 6,792 | 3933 | 3.7 | 24.7 | 227.9 | -65 | 2 | The red planet | ||
Jovian planets | Gas giants | Jupiter | 1898 | 142,984 | 1326 | 23.1 | 9.9 | 778.6 | -110 | 67 | The largest planet |
Saturn | 568 | 120,536 | 687 | 9.0 | 10.7 | 1433.5 | -140 | 62 | |||
Ice giants | Uranus | 86.8 | 51,118 | 1271 | 8.7 | 17.2 | 2872.5 | -195 | 27 | ||
Neptune | 102 | 49,528 | 1638 | 11.0 | 16.1 | 4495.1 | -200 | 14 | |||
Dwarf planets* | Pluto | 0.0146 | 2,370 | 2095 | 0.7 | 153.3 | 5906.4 | -225 | 5 | Declassified as a planet in 2006, but this remains controversial. |
Please follow my advice from the other post about online editors. Iâm unable to grade your work when itâs just pasted into a forum post.
Regarding styling the third column have a look at <colgroup>
. The article will explain how to do that.
Michael
bonjour! comment dois je faire pour exporter mon travail ici? merci
@mikoMK je ne sais pas si je mây prend bien cette fois jâai vraiment du mal avec git et les autres
Table templateTable template
Data about the planets of our solar system (Planetary facts taken from Nasa's Planetary Fact Sheet - Metric).Name | Mass (1024kg) | Diameter (km) | Density (kg/m3) | Gravity (m/s2) | Length of day (hours) | Distance from Sun (106km) | Mean temperature (°C) | Number of moons | Notes | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Terrestrial planets | Mercury | 0.330 | 4,879 | 5427 | 3.7 | 4222.6 | 57.9 | 167 | 0 | Closest to the Sun | |
Venus | 4.87 | 12,104 | 5243 | 8.9 | 2802.0 | 108.2 | 464 | 0 | |||
Earth | 5.97 | 12,756 | 5514 | 9.8 | 24.0 | 149.6 | 15 | 1 | Our world | ||
Mars | 0.642 | 6,792 | 3933 | 3.7 | 24.7 | 227.9 | -65 | 2 | The red planet | ||
Jovian planets | Gas giants | Jupiter | 1898 | 142,984 | 1326 | 23.1 | 9.9 | 778.6 | -110 | 67 | The largest planet |
Saturn | 568 | 120,536 | 687 | 9.0 | 10.7 | 1433.5 | -140 | 62 | |||
Ice giants | Uranus | 86.8 | 51,118 | 1271 | 8.7 | 17.2 | 2872.5 | -195 | 27 | ||
Neptune | 102 | 49,528 | 1638 | 11.0 | 16.1 | 4495.1 | -200 | 14 | |||
Dwarf planets* | Pluto | 0.0146 | 2,370 | 2095 | 0.7 | 153.3 | 5906.4 | -225 | 5 | Declassified as a planet in 2006, but this remains controversial. |
Yeah, CodePen and GitHub are both fine! That makes it a lot easier.
Iâll have a look at your code as soon as I have the time.
re salut @mikoMK ! jâai terminĂ© âla mise en forme dâune biographieâ je poste ici et pourras tu y jeter un coup dâoeil quand tu aura le temps merci dâavance
Sorry for the loooong delay. I could finally look at your âStructuring planet dataâ code.
There are only some minor things:
- When using
<colgroup>
you need list all columns. You can also use thespan
attribute to minimize the number of lines. Also aborder-style
is needed.<colgroup> <col span="2"> <col style="border: 2px solid black"> <col span="9"> </colgroup>
- The empty cell in the top right corner should be a
<td>
. - When using
rowspan
thescope
should berowgroup
.
Regarding the âFormatting a biographyâ:
Well done on your first CSS exercise!
Thereâs nothing to complain from my side.
See you,
Michael
bonjour @mikoMK ! ce nâest pas grave, merci beaucoup pour ces conseils jâavoue que le tableau est un peu compliquĂ© pour moi, bonne continuation
Just donât get discouraged. I have to admit that personally, Iâve never worked with such complex tables, but it doesnât hurt doing it once to know whatâs possible.
je souhaite ĂȘtre Ă©valuer sur âboĂźte au look coolâ sâil vous plaĂźt merci,
bonjour @mikoMK! je viens de terminer "la page dâaccueil dâune Ă©cole de communautĂ©â pourriez-vous y jeter un coup dâoeil quand vous aurez un peu de temps sâil vous plaĂźt merci beaucoup