A hands-on project from Udemy: Git a Web Developer Job: Mastering The Modern Workflow by Brad Schiff.
You can see the completed website in action at kabuk1.github.io/travel-site/.
-
Mobile-first performance and responive web design:
-
Lazy-loading images, icon sprites, responsive images
-
Icon sprites for faster page load time
-
-
Support for legacy browsers:
-
Picturefill to ensure responsive images
-
Test browser support for SVGs and flexbox with gulp-modernizr
-
Convert SVGs to PNGs with gulp-svg2png
-
-
Reveal page contents on scroll
-
Smooth page scroll to an anchor on the same page
Follow these instructions to get a copy of the project up and running on your local machine.
- Node.js
- NPM
git clone https://github.com/kabuk1/travel-site.git
npm install
npm install gulp -save
gulp watch
- jquery
- Gulp
- PostCSS
- Babel
- Webpack
- normalize.css
- lazysizes
- waypoints
- browsersync
Bundle all files together in git bash using gulp:
gulp build
To preview your build project using gulp:
gulp previewdist
- Thanks to Brad Schiff for a fantastic course on workflow.