Assessment Wanted for my Structuring Planets data

Hello!
I have completed "Structuring Planet Data" on MDN Web Docs and would like to have my code review.

Here is a link to my code on CodePen.

Looking forward to your response.
Thank you :slight_smile:

Hello @tuhamworld

you doing great well done just few notice here :

  1. for Neptune you have missing td at the end the empty one
  2. also you missed most of the scope in the header elment
  3. there issue with some scope you give some th element col scope while it should be row

try to validate your code here https://validator.w3.org/#validate_by_input

and you will get all the issue

hope that help and have a nice day :slight_smile:

1 Like

Thank you for the review. I have made some changes to the code.

Can you please recheck if it’s going on well now?

  1. My Code on CodePen
  2. Example to replicate
1 Like

you welcome and well done just little things :

  1. for colgroup you would need to add col for the rest of the coloumn
    so
<colgroup>
    <col span="2">
    <col style="border:2px solid #000;">
  
  </colgroup>

be like that

 <colgroup>
        <col span="2">
        <col style="border: 2px solid black">
        <col span="9">
      </colgroup>

and have a nice day :slight_smile:

2 Likes

Thank you for the patience and for this. I have update the Code on CodePen.

Quick Question :arrow_heading_down:
I guess using
<col span="9">

is the same as repeating…

<col> 9 times

2 Likes

you very welcome @tuhamworld

for your question it’s yes and to make sure that you got it’s power

so if we use an example to illustrate it

try to change you colgroup to this

 <colgroup>
    <col span="2">
    <col >
    <col span="9" style="border:2px solid #000;">

notice the style will apply to all those 9 column which save us a lot writing

hope that help and have a nice day :slight_smile:

2 Likes

Wow :open_mouth:

Thank you so much for this and glad to have you guys here as our guide!

This helps and do have a nice day over there too :slight_smile:

2 Likes

@tuhamworld you very welcome and i am just a learner same as you so i need a guide :joy:

and glad to help and thanks a lot :slight_smile:

2 Likes