Here's how it happened:
1. Hogsmeade is a magical village located near Hogwarts, accessible only to witches and wizards.
2. Third-year students at Hogwarts are allowed to visit Hogsmeade on weekends, provided they have parental permission.
3. Ron, Harry, and Hermione were excited to finally visit Hogsmeade, as it was a popular destination for Hogwarts students.
4. Ron, being familiar with the village, led Harry and Hermione through a secret passage in Hogwarts, known as the Shrieking Shack, which led to the village.
So, Harry didn't discover Hogsmeade on his own; it was already there, and his friends showed him the way. He experienced the magic and excitement of the village through their adventures.