Program ESP8226 WIFI module using Ardunio Environment

Hello,

Your project is so advanced. I am a beginner and trying to just make something simple.
Attached is my program. I attached the 2 files "index" and "Page1" to the program called
"Home_Automation.ino".

There are a few buttons on the index file. The LED button turns on an LED on the ESP8226 module.

I created a button called "LIGHTS". All I want to do is once this button is pushed, the "Page1" gets
displayed and "index" display page disappears. For now I just made the "Page1" a very simple "Hello message".

In this program the Ardunio prints out the IP address of the ESP8226. Then I use that in a web browser
to start the index page. The page comes up and I can turn on and off different pins and LED on the
ESP8226 module.

Now I like to go to a different page by pushing the "LIGHTS" button. I also tried to create a Hyperlink. But it comes and says Not found:/Page1.html/

Please help.

Thanks