Why won't this code on sololearn work and how do I make it work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why won't this code on sololearn work and how do I make it work?

On sololearn I was given this code: <table> <tr> <td> <td> <td> </tr> </table> Which is supposedly suppose to make a table with one row and three columns but when I typed it in on sololearn's online IDE it output anything and I don't understand why. Unless I've done something wrong how do I make it work?

18th Jun 2018, 10:53 PM
Eddy
Eddy - avatar
3 Answers
+ 5
Try adding some input to the table data td then close each with </td> <td>1</td>...
18th Jun 2018, 10:59 PM
bobbie
bobbie - avatar
+ 3
I guess you forgot to close the <td>. <table> <tr> <td> info1 </td> <td> info2 </td> <td> info3 </td> </tr> </table >
18th Jun 2018, 11:00 PM
Peter Claver
Peter Claver - avatar
- 1
after opening the <td> tags you forgot to close them try that.
19th Jun 2018, 12:26 AM
Eugene Tamakloe
Eugene Tamakloe - avatar