From the course: Building a Website with Node.js and Express.js

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating a form template

Creating a form template

From the course: Building a Website with Node.js and Express.js

Start my 1-month free trial

Creating a form template

- [Instructor] Before we can implement the feedback page, we, of course, have to do the template for it first. Creating this template is very similar to the templates we've created before, and by now this should be very familiar to you. So let's do this one real quick in a more ad lib way. Feel free to stop the video and try it out on your own first. So, I have the static page open here. Let's look at it in Chrome Developer Tools real quick, just to see where the content is starting. So you see that we have this main content and then feedback, but way up before there is this container with the content that we had before for the other template. So I go into Visual Studio Code, there I open my static folder, and there we have a file feedback html and I'm now copying that into views, pages, and now I'm renaming the extension to .js, and then I again scroll, select everything, until I reach the container after the header…

Contents