With dialogue, specific punctuation is needed. Most often, commas and periods go within the quotation marks, but there are some forms of punctuation and examples that go outside of the quotation marks ...
When you reach the end of a sentence, you need a period, question mark, or exclamation point. Phrases or subordinate clauses standing alone are missing a subject or a verb or are stated in such a way ...