demo.html finished

all functions in demo