There are quite a few things that can prevent connection so hopefully I can add to the great suggestions below.
My sons Galaxy Tab 3 was purchased and would not connect to our home wifi - here was my problem and solution:
Problem = I didn't know it but my Broadband router setting was the...