I need help with my tables 🥺🥺

So I’m learning the web design course (bottom right) but when I put in the code(left) I just get the data without the table…top right… around it I’ve been at it for 2 days :police_car_light::flushed_face:

Welcome there,

Without seeing all the code, or knowing what course you are referring to, I can only guess there are two issues:

  1. In your .html file, there is no link to the .css file. So, the classes you have added will not do anything.
  2. You have opened the .html file as a plain text file using your browser. You will also need to serve the files with a server so that any linked .css files are loaded.

There is a lot of information to cover in those two points. So, I suggest the following options for continuing:

a. Learn in the browser about tables at https://www.freecodecamp.org/learn/responsive-web-design-v9/workshop-final-exams-table/step-1
b. Continue your course using a tool like https://codepen.io/ or https://editor.p5js.org/

Hope this helps

1 Like

It’s not clear to me what you’re confused about. Are you referring to the black lines not showing up in the rendered HTML table?

What you showed here is only part of the file, and there might be some other code that we can’t see in the photo you shared. Can you copy the whole file and paste it here?

Just adding to what Sky020 said: a plain HTML table has no visible grid lines by default, so your data shows up but the table looks invisible. In your CSS, add: code removed by moderator } Also check the CSS file is linked from your HTML with a link tag in the head. Once the borders appear, your Job Title / Location / Salary layout should look like a proper table.

It is great that you solved the challenge, but instead of posting solution code, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting solution code.