Can anyone recommend any nice areas to live that are affordable and close to an ocean?

I have decided to sell my home and move out of this area , I been struggling to find a job ever since I got laid off , and realized nothing is really holding me here , I currently live in Pittsburgh Pennsylvania but I am originally from South New Jersey , I thought about moving back to Jersey only if I can land a decent job there because cost of living there is outrageous as well, I am just seeking some ideas and weighing my options , any suggestions is greatly appreciated Thanks
Updates
1 y
In the United States
Can anyone recommend any nice areas to live that are affordable and close to an ocean?
Post Opinion