• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 Web server example:

Q&A Forum › ESP32 Web server example:
0 Vote Up Vote Down
Janne asked 7 years ago

Hi
Is there an issue with Safari since I can make the code

<a href="/26/on"><button>ON</button></a>

respond? Nothing happens in safari when the buttons in index.html are pressed.

Up to that line the code works. I’m using Atom to write the file.

Thank You for a very good site and samples.

Thanks, Janne

3 Answers
1 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

Are you opening the index.html file in your web browser? You can’t do that to control your ESP. That step is for demonstrations purposes only and to see how your web page looks.

In order to control your ESP32, you need to upload the sketch to your board provided in the course and access the ESP32 IP address.

I hope that helps! Let me know if you have more questions.

Regards,
Rui

0 Vote Up Vote Down
Janne answered 7 years ago

I should have been more specific. 
Sorry
I have uploaded to ESP32 and that works. 
It’s just that I’m new to html and thus tested writing the html part and opening in Safari. As in the course. The buttons ”click” but the browser doesn’t react. 
So I thought there might be a known issue with Safari. Must be something I do/write wrong. 
Thank you. 
Janne

0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

No problem and sorry for the confusion.
I’m glad it’s working fine and that’s the expected behavior.
The browser test with the index.html was just to double-check the final appearance of your web page. If you have more questions just let me know!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.