"Structuring planet data" assessment

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 :thinking:

Table template

Table 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.

Hi @fenosoaliva_ratovoson

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! :sweat_smile: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 :laughing:

Table template

Table 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.

See the Pen Untitled by Fenosoaliva (@Fenosoaliva) on CodePen.

bonjour @mikoMK! ca va? et si je mets le lien via github est ce que ça marche


merci beaucoup

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. :+1:

@mikoMK d’accord merci beaucoup bonne continuation :blush:

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


Hi @fenosoaliva_ratovoson

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 the span attribute to minimize the number of lines. Also a border-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 the scope should be rowgroup.

Regarding the “Formatting a biography”:

Well done on your first CSS exercise! :medal_sports:
There’s nothing to complain from my side.

See you,
Michael

bonjour :wave: @mikoMK ! ce n’est pas grave, merci beaucoup pour ces conseils :+1: j’avoue que le tableau est un peu compliquĂ© pour moi, bonne continuation

1 Like

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. :slightly_smiling_face:

1 Like

bonjour @mikoMK! ca va? tu as raison c’est vrai :slightly_smiling_face:

1 Like

je souhaite ĂȘtre Ă©valuer sur “boĂźte au look cool” s’il vous plaĂźt merci,

bonjour :blush: @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 :pray: