Gold Challenge: Moving Error Handling to Its Own Module

Take the code that does the file reading and error handling and move it into its own module.

Also, make the module configurable so that when you import it you can specify what base folder the static HTML, CSS, and JavaScript are in.

Get Front-End Web Development: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.