I don't really mind the delay in your code actually, especially since it is code meant for beginners, and the page looks pretty neat, but if you want to know how to do it without delay for your code, check this Arduino page:
I don't really mind the delay in your code actually, especially since it is code meant for beginners, and the page looks pretty neat, but if you want to know how to do it without delay for your code, check this Arduino page: