How can I get the code to work within my website? The 'next' button doesn't work correctly.