Atlantic City did build the world's first boardwalk in 1870. It was originally constructed to keep sand out of the hotel lobbies and railroad cars, and became a model for boardwalks everywhere. The other New Jersey shore towns (Seaside Heights, Ocean City, Asbury Park) all built boardwalks later, not first.