Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Tables Table Basics Create a Table

barnabasadedoyin
barnabasadedoyin
1,501 Points

Code Challenge Glitch!

I can seems to take the code challenge for html table. I've tried severally but kept sending me to a dialogue box saying "oh no".... I have contacted help@teamtree.com and yet to recieve a reply. What is happening to Teamtreehouse training?

Hi,

Can you post the code challenge question and the code you have tried please?

Thanks

-Rich

barnabasadedoyin
barnabasadedoyin
1,501 Points

Hi Rich, It isn't about the code, but about teamtreehouse code challenge. However, here is the code challenge;

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Employee Information</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='http://fonts.googleapis.com/css?family=Nunito:400,300' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">
  </head>
  <body>
      <table>

        </table>

</body>


</html>

Hi,

Can you try posting the code with 3 back ticks (e.g. ```) before and after please as I can only see the closing table tag unfortunately?

I've just been through all 4 stages and can't replicate the error so if it isn't code related it could be browser related but just to rule out other possibilities what stage do you receive the error?

Thanks

-Rich

barnabasadedoyin
barnabasadedoyin
1,501 Points

I was in code stage 1 where they ask to write the table code without adding other element to it...

The email you contacted is wrong, I guess that is why you never got a reply. In case it is needed sometime in the future, it is help@teamtreehouse.com ("teamtreehouse" instead of "teamtree").

2 Answers

Hi,

Just to confirm and make sure we're seeing the same thing this is what I have for the code challenge part 1:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>HTML Tables</title>
  </head>
  <body>
    <table>

    </table>
  </body>
</html>

I added the following between the <body> and </body> tags:

<table>

</table>

Does this match what you have?

Thanks

-Rich

Hi,

Has that sorted your issue?

-Rich

From what I see the problem is not the Treehouse code challenge but your code. The challenge says... "Create a table element. Don't add any other elements yet." but your code below has other elements it hasn't given you...

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Employee Information</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='http://fonts.googleapis.com/css?family=Nunito:400,300' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">
  </head>
  <body>
      <table>

        </table>

</body>


</html>

eventually even though that code is right, it does something the question doesn't ask for which is adding other things. The answer as Rich also stated is ..

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>HTML Tables</title>
  </head>
  <body>

    <table>

    </table>

  </body>  
</html>

that should work.

barnabasadedoyin
barnabasadedoyin
1,501 Points

Hi Gloria, thanks. But I was told by Nick just like creating form that there are some html pre tags as well as css which I was fully aware. It worked in the form creating even when all the pre elements where automatically listed there. Maybe I shoud give it a shot once more with your sliced html tags.

The email was sorted out and I recieved a reply. Thank you once again.

Regards

That's true. It is just that many code challenges don't work if you don't give them what they are expecting. In a real life "form", you should add the CSS and extras needed, but this challenge doesn't ask for them so it does not like any additions apart from what it wants. This is exactly as written in the code challenge, I just added the table, it should work. I tried it, so it is supposed to work. You are welcome.

You are welcome :)