This answer is not correct. They are in the same period but they have different numbers of outer shell electrons. Remember that elements will tend to gain or lose electrons to achieve an inert gas configuration and not go any further.