Here is the rest of the code + HTML + added code chunk