Congratulations!

You have successfully created your first app using PyPositron!


A green checkmark icon. If you are seeing this instead of the icon, there might be something wrong with your browser.

#You can write Python code here. #This code will be executed on load. #Make sure not to accidentaly indent the code. import time button=document.getElementById('button') def button_handler(): # This function will be called when the button is clicked print("Button clicked!") document.alert("The current time is "+ str(time.strftime("%H:%M:%S"))) #Use alert to show a pop-up. # You can add more code here to perform actions when the button is clicked button.addEventListener('click', button_handler)