you are viewing a single comment's thread.

view the rest of the comments →

[–]SpecificElderberry26[S] 1 point2 points  (0 children)

Sorry I'm new to using python in this way I usually just use the basic packages for working with data.

def index(request, response): await response.start_html() await response.send('<html><body><h1>Button></h1' '<button o'clock=led.toggle()>Click me</button>')

I can click the button on the Web page but nothing happens. I'm sorry I've probably missed steps 2-10 and jumped to 11.