Hello. I was wondering if someone could assist me in explaining why a table does not appear in my output despite using <table>. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hello. I was wondering if someone could assist me in explaining why a table does not appear in my output despite using <table>.

https://code.sololearn.com/WxUGSnAvwKK9/?ref=app

30th Jul 2019, 3:13 PM
Christopher
4 Answers
+ 2
And sorry of my mistake. The right code must be: table, th, td { border:1px solid grey; border-collapse:collapse; } (th instead of tr)!!!
30th Jul 2019, 4:51 PM
Thống Nguyễn
Thống Nguyễn - avatar
+ 1
In the css section, add this css code: table, tr, td { border: 1px solid grey; border-collapse:collapse; }
30th Jul 2019, 4:33 PM
Thống Nguyễn
Thống Nguyễn - avatar
+ 1
Thank you very much.
30th Jul 2019, 4:36 PM
Christopher
+ 1
Please to help you. In new html standard, it will not auto set the table border, so you will need to add it manually!
30th Jul 2019, 4:45 PM
Thống Nguyễn
Thống Nguyễn - avatar