Responsive Travel Website with HTML and CSS

Last Updated on October 1st, 2021 by Codevo
Responsive Travel Website with HTML and CSS

In this article, we are going to build a complete travel website with html, css and javascript. If you are a beginner and have never written one line of code before then this article is for you.

In my previous article, we created an ecommerce website with html, css and javascript.

Try your best to check it out because it contains a lot of new modern css tricks. I also added image zoom effect which was a feature requested by a lot of my subscribers on youtube.

Features of the travel website

  • Responsive Navigation Bar with toggle effect
  • Responsive Carousel with SwiperJs
  • About Section
  • NewsLetter Section
  • Service Section
  • Trip Section
  • More Places Section
  • Contact Section with location map
  • Footer
  • Add Scroll Reveal with scrollrevealjs

Resources for the website

  1. Google Fonts
  2. SwiperJs
  3. cdnJs
  4. Boxicons
  5. ScrollRevealJs
  6. Favicon
  7. Lottie
  8. Pexels

Download setup files here

Project Structure

Create a new folder on your desktop and name it anything you want. Now open the project folder you just created with any text editor. In the root directory, create a js and css folder.

Within the js folder create two files index.js and slider.js.

Also, create a styles.css file in the css folder. Now create an index.html file in the root directory and copy the code below and paste them in their respective files.


<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- ======== Favicon ======= -->
<link rel="shortcut icon" href="" type="image/x-icon" />
<!-- ======== Boxicons ======= -->
<link href="" rel="stylesheet" />
<!-- ======== Slider Js ======= -->
<link rel="stylesheet" href="" />
<!-- ======== StyleSheet ======= -->
<link rel="stylesheet" href="" />
<title>Travel Website</title>
<!-- ======== SwiperJS ======= -->
<script src=""></script>
<!-- ======== SCROLL REVEAL ======= -->
<script src=""></script>
<!-- ======== SliderJS ======= -->
<script src=""></script>
<!-- ======== IndexJS ======= -->
<script src=""></script>


/* =========== Fonts ============ */
/* =========== Browser Reset ============ */
:root {
/* Color Variables */
--primary: #ffc400;
--text-1: #0f2341;
--text-2: #a9a9a9;
--white: #fff;
--shadow-300: 0 5px 5px rgba(0, 0, 0, 0.3);
--shadow-500: 0 5px 5px rgba(0, 0, 0, 0.5);
--transition-300: all 300ms ease-in-out;
--transition-500: all 500ms ease-in-out;
/* =========== Custom Classes ============ */
/* =========== Navigation ============ */
/* =========== Home ============ */
/* =========== About ============ */
/* =========== ============ */

Video Tutorial

Below is the video on how to build the travel website step by step

In the video, you’ve seen how to build a travel website from scratch and I hope you’ve understood the chunks of codes of this travel website design.

I tried my best to make this video understandable for beginners and also I showed every output of the code in the video. If this video has been helpful for you, don’t forget to like, subscribe and leave a comment.

If you couldn't follow along in the video or maybe it was a little confusing then scroll to the bottom of this article where you will find a download button.

Click on the download button and wait for 60s while the download link if been prepared for you. When the link is ready click on it to automatically download the zip file.

Github link

Download Code Files


ogostanSeptember 30th, 2021

wow!!! you are killing it!!!!