Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Let's see what we can do to improve our project. Also a suggested project.
Project Improvement Suggestions
- Serve static files
- CSS (.css)
- Images (.png, .jpg, .gif, .svg)
- Client-side JavaScript (.js)
Project Suggestion
- Lorem Ipsum Generator
- Example lipsum.com
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
Well done.
0:00
What you've actually created is your own
framework for
0:01
building simple dynamics sites.
0:03
You've got a router that handles routes,
you've made your own templating engine,
0:06
and you can inject variables to create
dynamic websites.
0:10
When you come to the end of a project like
this,
0:15
you may have mixed feelings of
accomplishment or even confusion.
0:17
You may be asking what just happened?
0:21
Or, maybe your brain feels like it's
swelling a bit with
0:22
the new neurons coming online.
0:25
And that's all natural.
0:27
The best thing for you to do now is to go
back over what you've done and
0:29
improve it, brick it, or even build
something new with what you've learned.
0:32
Here's an idea what you can do to improve
this project.
0:38
Add the ability to serve static files like
CSS files.
0:41
CSS is embedded on every page, extract
that into an external file and
0:45
then serve through Node JS.
0:49
Finally, before I go, here's a project
suggestion.
0:52
Create a Lorem Ipsum generator.
0:55
Lorem Ipsum is what you can use for
placeholder text.
0:58
Here's an example of a generator online.
1:03
Why not try and recreate this with
nerd.js?
1:07
[BLANK_AUDIO]
1:09
Until next time, keep breaking things and
keep coding.
1:14
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