├── README.md
├── Text Responsive travel website.txt
├── assets
├── css
│ └── styles.css
├── img
│ ├── about-beach.jpg
│ ├── explore-beach.jpg
│ ├── explore-perfil.png
│ ├── favicon.png
│ ├── home-beach.jpg
│ ├── home-bg.jpg
│ ├── home-lake.jpg
│ ├── home-mountain.jpg
│ ├── home-trees.jpg
│ ├── join-island.jpg
│ ├── popular-forest.jpg
│ ├── popular-lake.jpg
│ └── popular-mountain.jpg
└── js
│ ├── main.js
│ └── scrollreveal.min.js
├── index.html
└── preview.png
/README.md:
--------------------------------------------------------------------------------
1 | # Responsive Travel Website
2 | ## [Watch it on youtube](https://youtu.be/cgV2tN8gxCg)
3 | ### Responsive Travel Website
4 |
5 | - Responsive Travel Website Design Using HTML CSS & JavaScript
6 | - Contains animations when scrolling.
7 | - Smooth scrolling in each section.
8 | - Developed first with the Mobile First methodology, then for desktop.
9 | - Compatible with all mobile devices and with a beautiful and pleasant user interface.
10 |
11 | 💙 Join the channel to see more videos like this. [Bedimcode](https://www.youtube.com/@Bedimcode)
12 |
13 | 
14 |
--------------------------------------------------------------------------------
/Text Responsive travel website.txt:
--------------------------------------------------------------------------------
1 | ========== HEADER ==========
2 | .nav__logo
3 | Travel
4 |
5 | .nav__link
6 | Home - About - Popular - Explore
7 |
8 |
9 | ========== HOME ==========
10 | .home__subtitle
11 | Welcome To Travel
12 |
13 | .home__title
14 | Explore
15 | The World
16 |
17 | .home__description
18 | Live the trips exploring the world, discover
19 | paradises, islands, mountains and much
20 | more, get your trip now.
21 |
22 | .button
23 | Start Your Journey
24 |
25 | .home__card-title
26 | Croatia
27 | Iceland
28 | Italy
29 | Spain
30 |
31 |
32 | ========== ABOUT ==========
33 | .section__title
34 | Learn More
35 | About Travel
36 |
37 | .about__description
38 | All the trips around the world are a great
39 | pleasure and happiness for anyone, enjoy
40 | the sights when you travel the world. Travel
41 | safely and without worries, get your trip and
42 | explore the paradises of the world.
43 |
44 | .button
45 | Explore Travel
46 |
47 |
48 | ========== POPULAR ==========
49 | .section__title
50 | Enjoy The Beauty
51 | Of The World
52 |
53 | .popular__title .popular__location
54 | Logan Mountain
55 | Canadá
56 |
57 | Spike Forest
58 | Irland
59 |
60 | Garda Lake
61 | Italy
62 |
63 |
64 | ========== EXPLORE ==========
65 | .section__title
66 | Explore The
67 | Best Paradises
68 |
69 | .explore__description
70 | Exploring paradises such as islands and
71 | valleys when traveling the world is one of
72 | the greatest experiences when you travel, it
73 | offers you harmony and peace and you
74 | can enjoy it with great comfort.
75 |
76 | .explore__name
77 | Paul Jeams
78 |
79 |
80 | ========== JOIN ==========
81 | .section__title
82 | Your Journey
83 | Starts Here
84 |
85 | .join__description
86 | Get up to date with the latest
87 | travel and information from us.
88 |
89 | .join__input placeholder
90 | Enter your email
91 |
92 | .join__button
93 | Subscribe Our Newsletter
94 |
95 |
96 | ========== FOOTER ==========
97 | .footer__logo
98 | Travel
99 |
100 | .footer__description
101 | Travel with us and explore
102 | the world without limits.
103 |
104 | footer__title .footer__link
105 | About
106 | About Us
107 | Features
108 | News & Blog
109 |
110 | Company
111 | FAQs
112 | History
113 | Testimonials
114 |
115 | Contact
116 | Call Center
117 | Support Center
118 | Contact Us
119 |
120 | Support
121 | Privacy Policy
122 | Terms & Services
123 | Payments
124 |
125 | .footer__social-link
126 | https://www.facebook.com/
127 | https://www.instagram.com/
128 | https://twitter.com/
129 | https://www.youtube.com/
130 |
131 | .footer__copy
132 | © Copyright Bedimcode. All rights reserved
133 |
--------------------------------------------------------------------------------
/assets/css/styles.css:
--------------------------------------------------------------------------------
1 | /*=============== GOOGLE FONTS ===============*/
2 | @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Poppins:wght@400;500&display=swap");
3 |
4 | /*=============== VARIABLES CSS ===============*/
5 | :root {
6 | --header-height: 3.5rem;
7 |
8 | /*========== Colors ==========*/
9 | /*Color mode HSL(hue, saturation, lightness)*/
10 | --title-color: hsl(0, 0%, 95%);
11 | --text-color: hsl(0, 0%, 70%);
12 | --text-color-light: hsl(0, 0%, 60%);
13 | --body-color: hsl(0, 0%, 0%);
14 | --container-color: hsl(0, 0%, 8%);
15 |
16 | /*========== Font and typography ==========*/
17 | /*.5rem = 8px | 1rem = 16px ...*/
18 | --body-font: "Poppins", sans-serif;
19 | --second-font: "Montserrat", sans-serif;
20 | --biggest-font-size: 2.75rem;
21 | --h1-font-size: 1.5rem;
22 | --h2-font-size: 1.25rem;
23 | --h3-font-size: 1rem;
24 | --normal-font-size: .938rem;
25 | --small-font-size: .813rem;
26 | --smaller-font-size: .75rem;
27 |
28 | /*========== Font weight ==========*/
29 | --font-regular: 400;
30 | --font-medium: 500;
31 | --font-semi-bold: 600;
32 |
33 | /*========== z index ==========*/
34 | --z-tooltip: 10;
35 | --z-fixed: 100;
36 | }
37 |
38 |
39 | /*========== Responsive typography ==========*/
40 | @media screen and (min-width: 1152px) {
41 | :root {
42 | --biggest-font-size: 5.5rem;
43 | --h1-font-size: 2.5rem;
44 | --h2-font-size: 1.5rem;
45 | --h3-font-size: 1.25rem;
46 | --normal-font-size: 1rem;
47 | --small-font-size: .875rem;
48 | --smaller-font-size: .813rem;
49 | }
50 | }
51 |
52 | /*=============== BASE ===============*/
53 | * {
54 | box-sizing: border-box;
55 | padding: 0;
56 | margin: 0;
57 | }
58 |
59 | html {
60 | scroll-behavior: smooth;
61 | }
62 |
63 | body,
64 | button,
65 | input {
66 | font-family: var(--body-font);
67 | font-size: var(--normal-font-size);
68 | color: var(--text-color);
69 | }
70 |
71 | body {
72 | background-color: var(--body-color);
73 | }
74 |
75 | button,
76 | input {
77 | outline: none;
78 | border: none;
79 | }
80 |
81 | h1, h2, h3, h4 {
82 | color: var(--title-color);
83 | font-family: var(--second-font);
84 | font-weight: var(--font-semi-bold);
85 | }
86 |
87 | ul {
88 | list-style: none;
89 | }
90 |
91 | a {
92 | text-decoration: none;
93 | }
94 |
95 | img {
96 | display: block;
97 | max-width: 100%;
98 | height: auto;
99 | }
100 |
101 | /*=============== REUSABLE CSS CLASSES ===============*/
102 | .container {
103 | max-width: 1120px;
104 | margin-inline: 1.5rem;
105 | }
106 |
107 | .grid {
108 | display: grid;
109 | gap: 1.5rem;
110 | }
111 |
112 | .section {
113 | padding-block: 5rem 1rem;
114 | }
115 |
116 | .section__title {
117 | text-align: center;
118 | font-size: var(--h1-font-size);
119 | margin-bottom: 1.5rem;
120 | }
121 |
122 | .main {
123 | overflow: hidden; /* For animation ScrollReveal */
124 | }
125 |
126 | /*=============== HEADER & NAV ===============*/
127 |
128 |
129 | /* Navigation for mobile devices */
130 |
131 |
132 | /* Show menu */
133 |
134 |
135 | /* Add blur to header */
136 |
137 |
138 | /* Active link */
139 |
140 |
141 | /*=============== HOME ===============*/
142 |
143 |
144 | /*=============== BUTTON ===============*/
145 |
146 |
147 | /*=============== ABOUT ===============*/
148 |
149 |
150 | /*=============== POPULAR ===============*/
151 |
152 |
153 | /*=============== EXPLORE ===============*/
154 |
155 |
156 | /*=============== JOIN ===============*/
157 |
158 |
159 | /*=============== FOOTER ===============*/
160 |
161 |
162 | /*=============== SCROLL BAR ===============*/
163 |
164 |
165 | /*=============== SCROLL UP ===============*/
166 |
167 |
168 | /* Show Scroll Up */
169 |
170 |
171 | /*=============== BREAKPOINTS ===============*/
172 | /* For small devices */
173 |
174 |
175 | /* For medium devices */
176 |
177 |
178 | /* For large devices */
179 |
--------------------------------------------------------------------------------
/assets/img/about-beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/about-beach.jpg
--------------------------------------------------------------------------------
/assets/img/explore-beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/explore-beach.jpg
--------------------------------------------------------------------------------
/assets/img/explore-perfil.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/explore-perfil.png
--------------------------------------------------------------------------------
/assets/img/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/favicon.png
--------------------------------------------------------------------------------
/assets/img/home-beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/home-beach.jpg
--------------------------------------------------------------------------------
/assets/img/home-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/home-bg.jpg
--------------------------------------------------------------------------------
/assets/img/home-lake.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/home-lake.jpg
--------------------------------------------------------------------------------
/assets/img/home-mountain.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/home-mountain.jpg
--------------------------------------------------------------------------------
/assets/img/home-trees.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/home-trees.jpg
--------------------------------------------------------------------------------
/assets/img/join-island.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/join-island.jpg
--------------------------------------------------------------------------------
/assets/img/popular-forest.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/popular-forest.jpg
--------------------------------------------------------------------------------
/assets/img/popular-lake.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/popular-lake.jpg
--------------------------------------------------------------------------------
/assets/img/popular-mountain.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/assets/img/popular-mountain.jpg
--------------------------------------------------------------------------------
/assets/js/main.js:
--------------------------------------------------------------------------------
1 | /*=============== SHOW MENU ===============*/
2 |
3 |
4 | /*=============== REMOVE MENU MOBILE ===============*/
5 |
6 |
7 | /*=============== ADD BLUR TO HEADER ===============*/
8 |
9 |
10 | /*=============== SHOW SCROLL UP ===============*/
11 |
12 |
13 | /*=============== SCROLL SECTIONS ACTIVE LINK ===============*/
14 |
15 |
16 | /*=============== SCROLL REVEAL ANIMATION ===============*/
17 |
--------------------------------------------------------------------------------
/assets/js/scrollreveal.min.js:
--------------------------------------------------------------------------------
1 | /*! @license ScrollReveal v4.0.9
2 |
3 | Copyright 2021 Fisssion LLC.
4 |
5 | Licensed under the GNU General Public License 3.0 for
6 | compatible open source projects and non-commercial use.
7 |
8 | For commercial sites, themes, projects, and applications,
9 | keep your source code private/proprietary by purchasing
10 | a commercial license from https://scrollrevealjs.org/
11 | */
12 | var ScrollReveal=function(){"use strict";var r={delay:0,distance:"0",duration:600,easing:"cubic-bezier(0.5, 0, 0, 1)",interval:0,opacity:0,origin:"bottom",rotate:{x:0,y:0,z:0},scale:1,cleanup:!1,container:document.documentElement,desktop:!0,mobile:!0,reset:!1,useDelay:"always",viewFactor:0,viewOffset:{top:0,right:0,bottom:0,left:0},afterReset:function(){},afterReveal:function(){},beforeReset:function(){},beforeReveal:function(){}};var n={success:function(){document.documentElement.classList.add("sr"),document.body?document.body.style.height="100%":document.addEventListener("DOMContentLoaded",function(){document.body.style.height="100%"})},failure:function(){return document.documentElement.classList.remove("sr"),{clean:function(){},destroy:function(){},reveal:function(){},sync:function(){},get noop(){return!0}}}};function o(e){return"object"==typeof window.Node?e instanceof window.Node:null!==e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName}function u(e,t){if(void 0===t&&(t=document),e instanceof Array)return e.filter(o);if(o(e))return[e];if(n=e,i=Object.prototype.toString.call(n),"object"==typeof window.NodeList?n instanceof window.NodeList:null!==n&&"object"==typeof n&&"number"==typeof n.length&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(i)&&(0===n.length||o(n[0])))return Array.prototype.slice.call(e);var n,i;if("string"==typeof e)try{var r=t.querySelectorAll(e);return Array.prototype.slice.call(r)}catch(e){return[]}return[]}function s(e){return null!==e&&e instanceof Object&&(e.constructor===Object||"[object Object]"===Object.prototype.toString.call(e))}function f(n,i){if(s(n))return Object.keys(n).forEach(function(e){return i(n[e],e,n)});if(n instanceof Array)return n.forEach(function(e,t){return i(e,t,n)});throw new TypeError("Expected either an array or object literal.")}function h(e){for(var t=[],n=arguments.length-1;0=[].concat(r.body).shift())return j.call(this,n,i,-1,t),c.call(this,e,{reveal:!0,pristine:t});if(!n.blocked.foot&&i===[].concat(o.foot).shift()&&i<=[].concat(r.body).pop())return j.call(this,n,i,1,t),c.call(this,e,{reveal:!0,pristine:t})}}function E(e){var t=Math.abs(e);if(isNaN(t))throw new RangeError("Invalid sequence interval.");this.id=b(),this.interval=Math.max(t,16),this.members=[],this.models={},this.blocked={head:!1,foot:!1}}function d(e,i,r){var o=this;this.head=[],this.body=[],this.foot=[],f(e.members,function(e,t){var n=r.elements[e];n&&n[i]&&o.body.push(t)}),this.body.length&&f(e.members,function(e,t){var n=r.elements[e];n&&!n[i]&&(t
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | Responsive travel website - Bedimcode
17 |
18 |
19 |
20 |
23 |
24 |
25 |
26 |
27 |
30 |
31 |
32 |
35 |
36 |
37 |
40 |
41 |
42 |
45 |
46 |
47 |
50 |
51 |
52 |
53 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bedimcode/responsive-travel-website-2/05479ee978e76c94a9b3d45c5701517ddc658e62/preview.png
--------------------------------------------------------------------------------