The following are links to additional questions that our community has asked about this exercise:
This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
Currently there have not been enough questions asked and answered about this exercise to populate this FAQ section.
This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!
Not seeing your question? It may still have been asked before – try searching for it by clicking the spyglass icon () in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post ().
On this page, there is a bug that makes me not be able to go forward.
I click on the screen several times. It doesn’t respond at all.
Also I can’t type anything anywhere on that page.
Please let me know what I am wrong or where you have a bug.
So, in terms of <th> vs <td> is there any reason that you couldnt use <td> to create the heading of the table, and just put it in the first row instead of using <th>? Or is this one of those things where it would technically be correct but is not the best practice?
These are what we took to be semantic elements in the day. There is a big difference, albeit they have identical behaviors, for the most part. TD is a data cell. It means, ‘table data’.
We could construct our table only of them, giving the top row cells headings instead of data values. It would be valid as far as HTML is concerned. But it would also lack the semantics that tell the reader, “this row consists of the column headings for the data below”. Furthermore, we would not give data cells a scope attribute, even if they did appear at the top. It would not make sense.
Pretty much explains the difference, right there. TH is not a data cell, but a heading or descriptor cell that applies to, as in scope="col" all the data immediately below it (the column). We can also use TH at the start of each row with given, scope="row". It would tell the user agent that this cell is not data, but a descriptor for a row of TDs in the table.
Bottom line, headings with scope belong in TH cells; data belongs in TD cells.
Do I need to open a <tr> element for every row I add? What if I want to make a table with 10 or more rows, do I really need to open that many <tr> elements?
It’s a lot simpler and more straightforward to work with, compared to what we had to deal with before HTML5. Back in 2008 coding tables was like herding cats… with ONE feller that was extra sparkly.
Now this stuff’s actually making sense. Thanks for helping us stay focused, it’s good to be back in the saddle again.
I have a question regarding the default value of scope. When it is left empty nothing changes. So how is the scope attribute is interpreted. What is the default behaviour when the scope attribute is skipped?
I just came across the same error/problem over 1 year later and it is still not fixed/addressed - it being such a small error that probably would take up almost no time to fix doesn’t bode well for my interest in buying a Membership