??? Offended? You certainly didn't offend me.
Repost your revised code. I didn't see anything there where the first would interfere with the second.
I *suspect* that what the professor really wanted you to do was to create two tables and forms in such a way that you used a function and/or loop, so that you didn't have to nearly (but not quite) clone the code for the second table.
*THAT* would make some sort of sense.
Even so, creating DHTML using innerHTML isn't the best way. Hopefully he will also be teaching you about using document.createElement() and the DOM methods.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.