Hello, momo
I don't see anything wrong with your sentences.
If you are quoting a question or an exclamation, it makes sense to place the question mark/exclamation mark inside the quotation marks:
John asked me, "are you coming to the party?"
As for the inclusion of commas and periods,...