Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Practice Serving Static Files in Express!
You have completed Practice Serving Static Files in Express!
Preview
This practice challenge will help reinforce what you've learned about Express, as well as provide examples to reference when working on other Express projects.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[MUSIC]
0:00
Hi everyone, Guil here.
0:00
In this practice session,
you'll continue to build your node and
0:01
express skills by practicing
the basics of serving static files.
0:05
The transition from client side to server
side JavaScript has its challenges.
0:08
For example, using static assets like
a custom style sheet and images in
0:12
express apps can be tricky.
0:16
You can't use them as you would in client
side apps built with JavaScript, node or
0:17
express and
a browser are two different environments.
0:22
Express involves setting up and using
special static middleware to serve and
0:25
display your assets.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up