Retirement tax questions

I just got off the phone with Fidelity, the representative said there is not Roth IRA contribution limit so contributing $8300 should not be an issue.  The $8000 is the Federal limit for Traditional IRA.  It sounds like I pay the tax on the $300 and I'm good - I must have entered it incorrectly previously to get to the penalty message. Thanks for the help.