By now, we have a basic understanding
of NodeJS and Express,
and we are able to build some dummy websites with that,
but the pages we built up to this point aren't too useful.
And one of the main problems is that up to this point,
we're doing everything in our JavaScript code
and that includes the generation of our response
HTML content which in turn means
that it's quite simple content,
not really a well-structured page, leave alone any styles,
because we don't really wanna write all of that
in just JavaScript.
Well, that's where this section comes in now.
Now we're going to glue together a couple of pieces
that will in the end lead to far more realistic
and useful websites that we build with NodeJS and Express.
Because in this course section,
we are going to explore how NodeJS with Express.js
is able to work together with HTML files
and how we can work with HTML files and CSS and JavaScript,
browser side JavaScript, as we did it
in all the sections up to these backend sections,
and how we can in addition also make that HTML content
a bit more dynamic,
so how we can get the best of both worlds.
And for this, in this course section,
we are going to dive into how we can send HTML files
as responses in our Express.js application,
instead of just sending text responses
that may include HTML as we did it up to this point,
and we are going to explore
how we can serve static files in general
and what exactly static files are
before we then are going to make a major step forward
by also diving into dynamic files
and how we can work with so-called templates
to generate dynamic HTML content
that can differ for different users
and different points of time on the server
with our Node Express code.
So plenty of content to cover, let's dive right in.