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.

Building from a HTML page or template

Building from a HTML page or template

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

Start my 1-month free trial

Building from a HTML page or template

- [Instructor] Our central goal is to build a dynamic website from a static template using Express. In our project you find a folder called "provided" and in there, there is a folder called "static". Let's first drag this folder into the root of our project. When I look into the folder, I see that it consists of some HTML pages and also a folder for CSS styles, one for images and one for JavaScript. Let's look into the code of the index.html file real quick and we see that right on top here at line 6, it loads Bootstrap, a CSS framework that gives us some good default styles and offers a grid system to create responsive websites. We will see what this means in a second. I now want to see how this page looks like in the browser on my Mac. For that, I can now simply right click on this index.html file and select Reveal in Finder. Depending on your operating system, you should have something similar here. And here on the Finder,…

Contents