Update index.html

add reset in resize() for paragraph