Not sure what I'm doing wrong..:Oops, try again. Add a 'style' attribute to the first <th> tag! Set the value of this attribute to 'color:red;'

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/web-beginner-en-f8mcL/1/4?curriculum_id=50579fb998b470000202dc8b#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I’m not entirely sure why, but when I save & submit code the error message 'Oops, try again. Add a ‘style’ attribute to the first

tag! Set the value of this attribute to ‘color:red;’ pops up.
Also, when I turn the Famous Monsters title red, it shifts it way over to the right, I’d like to fix that too if possible.

Thanks all.

```

Replace this line with your code.

Table Time
<body>
    
    <table style="border-collapse:collapse;">
        <thead>
            <tr>
                <th colspan="2">
                <th style="color:red">
               Famous Monsters by Birth Year</th>
               
                    
                </th>
            </tr>
            <tr style="border-bottom:1px solid black;">
                <th style="padding:5px;"><i>Famous Monster</i></th>
                <th style="padding:5px;border-left:1px solid black;"><i>Birth Year</i></th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td style="padding:5px;">King Kong</td>
                <td style="padding:5px;border-left:1px solid black;">1933</td>     
            </tr>
            
            <tr>
                <td style="padding:5px;">Dracula</td>
                <td style="padding:5px;border-left:1px solid black;">1897</td>
            </tr>
            
            <tr>
                <td style="padding:5px;">Bride of Frankenstein</td>
                <td style="padding:5px;border-left:1px solid black;">1944</td>
            </tr>
        </tbody>
    </table>
    
</body>
<do not remove the three backticks above>

You’ve forgotten to add the semicolon ( ; ) in <th style="color:red">

Cool, thank you.

There were other issues too, but I’ve fixed it now.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.