We need two HTML files, index.html for primary landing page and error.html for errors. We will see the important components within the index.html here. We will use JavaScript SDK code from within the index.html file. A completed index.html file with required JavaScript code and error.html file are available with code files.