From the course: Building a Website with Node.js and Express.js
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Creating an error page
From the course: Building a Website with Node.js and Express.js
Creating an error page
- [Instructor] Right now, the error page we get is the default view provided by Express. You will agree that this does not look very professional. The page looks pretty broken, there are no links back to safer grounds and the user that ends up there will likely leave. We should change that now and add a more professional page that doesn't look as if the server has just crashed. So, I looked around to find some clean and neutral error template and what I found was that one. As you see this is very clean, very neutral and also very simple. And I want to use that now as my error template in my application. So, for that, I first click on html. And we see that it uses bootstrap already so there is not much to do for us. I simply take the snippet now. I copy it. Let's see if we have css as well. Yeah, there is some css to set as well. And I will go into Visual Studio Code. There you see that I created some demo…