Back to lesson
1. What types of things on a webpage are good template candidates?
Things that are the same on all pages of the site - like header links.
Whatever you want.
2. What happens if you change something in a template file?
It changes on the template file.
That change immediately reflects across the entire app.
3. Should we use include or require to template out our header?
It doesn't matter.
Include because require will crash the app if there's a problem.
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement