We are going to create a html, css, and javascript die with this code. For every block of code create…