I am on Step 7/13 on the Tables module of the 'Learn HTML course…
The instruction is “In index.html, span a <td>
element across two columns.”
Can anybody tell me why this is wrong. I have looked over this ten times, and I think it’s right!? So confused…
Code is as follows (see attached screenshot.):
<tr>
<td colspan='2'>Davie's Burgers</td>
<td>2</td>
<td>Send Invoice</td>
</tr>

try using quotation marks around 2? it might not approve the use of apostrophes.
1 Like
But the result in the right hand side shows the element spanning correctly across two columns?
Okay so that actually worked, it shows the correct result on the page, but gives an error in the code… as a learner that is just super confusing.
1 Like
yes, but the exercise uses regular expression for exercise validation, which might not like the apostrophe
look, i am only here on the forum to help, i am not going into a discussion about codecademy’s way of exercise validation.
I’m not expecting you to, just sharing an observation…
Thanks for your input.
system
closed
#7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.