Exciting tours for adventurous people.
Live preview: https://natours-igor.netlify.app
Natours is an awesome tour booking website and is a great choice for any traveler.
This project was built using [Node v16.x] and uses the following technologies:
- NPM - for dependency management.
- SASS - for keeping things organized.
- JavaScript - to create dynamic and interactive web content.
- ParcelJS - for bundling, transpilation, development, etc.
- ImageKit.io - Global Image CDN, to speed up image delivery to the user.
- Install Node from https://nodejs.org/en/.
- Clone the repository.
$ git clone https://github.com/anonsas/natours.git
- Navigate to the project's root directory.
- Install all the dependencies listed in package.json.
npm install
- Parcel will run a local development server.
npm run dev
- Performance: 91%.
- Accessibility: 97%.
- Best Practices: 100%.
- Seo: 92%.
Tools for ranking:
-
Lighthouse - automated tool for improving the quality of web pages.
-
PageSpeed Insights - reports on the performance of a page on both mobile and desktop devices, and provides suggestions on how that page may be improved.
I followed a course from udemy.com Advanced CSS and Sass: Flexbox, Grid, Animations and More! By Jonas Schmedtmann.
Changes I personally made:
- Used a more popular folder structure and naming convention in SASS.
- Used NPM package: sass, and not node-sass, because soon it will be deprecated.
- Used Image CDN, for transformation, optimization, and delivery of images.
- Used ParcelJS, for performance, optimization, bundling, etc.
- Added meta tags, for better SEO.
- Changed some styles, for responsiveness.
- Added functionality with JavaScript:
- fully working navigation.
- closing popup, by clicking outside of the popup.