The LED control code example is working fine . Just two queries.
We are connecting the LED to port 0 without any current limiting resistor. Is this a good idea as it can draw quite a bit of current ? I dont see any resistor on board too…
For every ON and OFF operation there is this confirmation message ón a new page - this actually is a nuisance in real terms. Much better would have been a message field that updates the status of the LED on the same page as the control buttons. Or even better a small round patch that turns green when the LED is ON and Black when OFF.
This way i could have directly used the code in a project. I know this can be done in HTML coding but then its a new domain for me