Motorbike Website Using HTML CSS & JavaScript
Motorbike Website Using HTML CSS & JavaScript
Motorbike Website Using HTML CSS & JavaScript
Overview
Welcome to the boldly interactive motorbike showcase page for the GTR Series.
The design utilizes simple color palettes, a bold typeface selection, and a responsive interactive design to convey power, precision, and modern luxury.
The page includes:
- A responsive navigational bar with a mobile menu toggle
- A hero section that allows an interesting way to display typography and performance specifications
- A footer with social media and a preorder link
- Smooth transitions and layout shifting for mobile
Project Structure
Before we begin, create the following file structure:
motorbike-GTR-showcase/
β
βββ index.html
βββ style.css
βββ script.js
βββ images/
Β Β Β Β Β βββ bike.png
Β Β Β Β Β βββ next-bike.png
Β Β Β Β Β βββ logo.svg
π§± Step 1: Header & Navigation
HTML:
<header class=”header”>
Β Β Β <div class=”logo”>
Β Β Β Β Β <img src=”images/logo.svg” alt=”Logo”>
Β Β Β </div>
Β
Β Β Β <nav class=”nav-links”>
Β Β Β Β Β <a href=”#”>HOME</a>
Β Β Β Β Β <a href=”#”>SHOP</a>
Β Β Β Β Β …
Β Β Β </nav>
Β
Β Β Β <div class=”nav-icons”>
Β Β Β Β Β <i class=”ri-search-line”></i>
Β Β Β Β Β …
Β Β Β </div>
</header>
Main Features
- Flexbox arrangement for measured alignment
- Icon set from Remix Icons for clean UI icons
- Responsive behaviour: hides menu links, small screens display a hamburger icon
π§± Step 2: Mobile Menu
HTML
<div class=”mobile-menu” id=”mobileMenu”>
Β Β Β <i class=”ri-close-line close-icon” id=”closeIcon”></i>
Β
Β Β Β <div class=”mobile-nav-links”>
Β Β Β Β Β <a href=”#”>HOME</a>
Β Β Β Β Β <a href=”#”>SHOP</a>
Β Β Β Β Β …
Β Β Β </div>
Β
Β Β Β <div class=”mobile-nav-icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-facebook-line”></i><span>Facebook</span></a>
Β Β Β Β Β …
Β Β Β </div>
</div>
Highlights
- Opens/Closes with a smooth fade animation
- Icons are shown horizontally for a modern touch
- Close button (X) on the top-right corner disappears
π§± Step 3: Hero Section
HTML
<main class=”hero”>
Β Β <div class=”left”>
Β Β Β Β Β <div class=”next-thumb”>
Β Β Β Β Β Β Β <div class=”next-top”>
Β Β Β Β Β Β Β Β Β Β <span class=”next-label”>NEXT</span>
Β Β Β Β Β Β Β Β Β Β …
Β Β Β Β Β Β Β </div>
Β Β Β Β Β Β Β Β …
Β Β Β Β Β </div>
Β
Β Β Β Β Β <h2 class=”model”>GTR</h2>
Β Β Β Β Β <h3 class=”tagline”>FRICTION BUSTING<br>LINEAL DESIGN</h3>
Β Β Β Β Β …
Β Β Β Β Β </div>
Β
Β Β Β Β Β <div class=”right”>
Β Β Β Β Β Β Β <h1 class=”bg-title”>ROCKET3</h1>
Β Β Β Β Β Β Β <img src=”images/bike.png” alt=”Motorbike” class=”bike”>
Β
Β Β Β Β Β Β Β <div class=”specs”>
Β Β Β Β Β Β Β Β Β <div class=”spec”><small>ENGINE</small><strong>350CC</strong>Β Β Β Β Β Β Β Β Β Β </div>
Β Β Β Β Β Β Β …
Β Β Β Β </div>
Β Β </div>
</main>
Main Features
- Split screen layout: text on the left, image on the right
- Big model typography (GTR) draws on the power of the title
- Dimmed background title (ROCKET3) for depth
- Specs are displayed in a clean grid for performance
π§± Step 4: Footer Section
HTML
<footer class=”footer”>
Β Β Β <div class=”footer-left”>
Β Β Β Β Β <div class=”social-box”>
Β Β Β Β Β Β Β Β <a href=”#”>FB</a>
Β Β Β Β Β Β Β Β …
Β Β Β Β Β </div>
Β Β Β </div>
Β
Β Β Β <div class=”footer-center”>
Β Β Β Β Β <div class=”mouse-icon”>…</div>
Β Β Β </div>
Β
Β Β Β <div class=”footer-right”>
Β Β Β Β Β <a href=”#” class=”preorder”>PRE ORDER</a>
Β Β Β </div>
</footer>
Highlights
- Social bar in yellow-orange on the left side of the footer sections
- Animated mouse scroll indicator at the center
- Preorder CTA button on the right side of the footer
π§± Step5: JavaScript Functionality
JS
// Mobile Menu Toggle…
const menuIcon = document.getElementById(‘menuIcon’);
const closeIcon = document.getElementById(‘closeIcon’);
const mobileMenu = document.getElementById(‘mobileMenu’);
Β
menuIcon.addEventListener(‘click’, () => { … });
closeIcon.addEventListener(‘click’, () => { … });
Β
// Mouse wheel animation…
…
Features
- Smoothly nudging menu open/closed
- Continuing the mouse wheel motion nudges smooth movement to provide subtle movement to UI
π§± Step6: CSS Highlights
Techniques Used
- :root variables for a consistent theme
- Flexbox for layout
- Absolute positioning for the background titles
- Clip-path and transform for visual depth
- Responsive design using media queries
Example Snippet
.hero {
Β Β Β display: flex;
Β Β Β align-items: center;
Β Β Β justify-content: space-between;
Β Β Β padding: 50px 80px;
Β Β Β position: relative;
}
.model {
Β Β Β font-size: 18rem;
Β Β Β font-style: italic;
Β Β Β color: #f4a200;
Β Β Β font-weight: 800;
}
.bg-title {
Β Β Β font-size: 10rem;
Β Β Β color: rgba(0, 0, 0, 0.05);
Β Β Β position: absolute;
Β Β Β left: 50%;
Β Β Β transform: translateX(-50%);
}
Β
π§± Step7: Responsive Design
Responsive Changes
- Below 1024px, text/image scales down
- Below 768px, hero area stacks vertically
- Below 480px, logo is compact with less spacing
The goal is to ensure it looks premium and readable at all screen sizes.
π Key Visual Elements
- Dual-Toned Layout – Modern appeal in black, white, and golden-yellow
- Dynamic Typography – Large italicized βGTR“ text layered to give it an energetic feel and be dynamic
- Scroll Cue Animation – Subtle invitation for interaction
- Fluid Navigation – Moves easily across mobile/desktop styles
- Performance Driven Specs Grid – Clean aesthetics and informationalΒ
π Key Visual Elements
This Motorbike GTR Showcase configures modern typography, bold imagery, and a minimalist layout design to create a powerful interactive brand experience– perfect for automotive websites or tech-based landing pages.
Previous Post
Design Synth
Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.
Popular Posts
Explore Topics
- Card Design (4)
- Carousel (2)
- CSS and HTML (10)
- Design Synth (11)
- Form Designs (1)
- GSAP (4)
- Header Design (8)
- Hover Effect (4)
- JavaScript (9)
- Navbar Designs (4)
- Parallax (1)
- Slider Designs (2)
- Template Designs (3)
- WordPress (1)
Tag Clouds
- Animation Effects
- Animation Image
- Animation Text
- AOS Animation
- Button
- Card Design
- Cards Design
- Carousel
- Code Tutorials
- Creative Web Templates
- CSS and HTML
- Design Synth
- Effect Image
- Effect Scroll
- Form Design
- Form Designs
- Free Website Template
- Front-End Design
- Glassmorphism Design
- GSAP Animation
- Halloween
- Header Design
- Hover Effects
- HTML
- HTML CSS Projects
- JavaScript
- JS
- Modern Website Design
- Navbar Design
- Navbar Designs
- Parallax Effect
- Parallax Scroll CSS
- Plane Website
- Responsive
- Responsive Design
- Slider Design
- Slider Designs
- SVG
- Tailwind CSS
- Template Designs
- UI Design
- UX Design
- Web Design
- Web Development
- Website Templates
- WordPress Website
Overview
Welcome to the boldly interactive motorbike showcase page for the GTR Series.
The design utilizes simple color palettes, a bold typeface selection, and a responsive interactive design to convey power, precision, and modern luxury.
The page includes:
- A responsive navigational bar with a mobile menu toggle
- A hero section that allows an interesting way to display typography and performance specifications
- A footer with social media and a preorder link
- Smooth transitions and layout shifting for mobile
Project Structure
Before we begin, create the following file structure:
motorbike-GTR-showcase/
β
βββ index.html
βββ style.css
βββ script.js
βββ images/
Β Β Β Β Β βββ bike.png
Β Β Β Β Β βββ next-bike.png
Β Β Β Β Β βββ logo.svg
π§± Step 1: Header & Navigation
HTML:
<header class=”header”>
Β Β Β <div class=”logo”>
Β Β Β Β Β <img src=”images/logo.svg” alt=”Logo”>
Β Β Β </div>
Β
Β Β Β <nav class=”nav-links”>
Β Β Β Β Β <a href=”#”>HOME</a>
Β Β Β Β Β <a href=”#”>SHOP</a>
Β Β Β Β Β …
Β Β Β </nav>
Β
Β Β Β <div class=”nav-icons”>
Β Β Β Β Β <i class=”ri-search-line”></i>
Β Β Β Β Β …
Β Β Β </div>
</header>
Main Features
- Flexbox arrangement for measured alignment
- Icon set from Remix Icons for clean UI icons
- Responsive behaviour: hides menu links, small screens display a hamburger icon
π§± Step 2: Mobile Menu
HTML
<div class=”mobile-menu” id=”mobileMenu”>
Β Β Β <i class=”ri-close-line close-icon” id=”closeIcon”></i>
Β
Β Β Β <div class=”mobile-nav-links”>
Β Β Β Β Β <a href=”#”>HOME</a>
Β Β Β Β Β <a href=”#”>SHOP</a>
Β Β Β Β Β …
Β Β Β </div>
Β
Β Β Β <div class=”mobile-nav-icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-facebook-line”></i><span>Facebook</span></a>
Β Β Β Β Β …
Β Β Β </div>
</div>
Highlights
- Opens/Closes with a smooth fade animation
- Icons are shown horizontally for a modern touch
- Close button (X) on the top-right corner disappears
π§± Step 3: Hero Section
HTML
<main class=”hero”>
Β Β <div class=”left”>
Β Β Β Β Β <div class=”next-thumb”>
Β Β Β Β Β Β Β <div class=”next-top”>
Β Β Β Β Β Β Β Β Β Β <span class=”next-label”>NEXT</span>
Β Β Β Β Β Β Β Β Β Β …
Β Β Β Β Β Β Β </div>
Β Β Β Β Β Β Β Β …
Β Β Β Β Β </div>
Β
Β Β Β Β Β <h2 class=”model”>GTR</h2>
Β Β Β Β Β <h3 class=”tagline”>FRICTION BUSTING<br>LINEAL DESIGN</h3>
Β Β Β Β Β …
Β Β Β Β Β </div>
Β
Β Β Β Β Β <div class=”right”>
Β Β Β Β Β Β Β <h1 class=”bg-title”>ROCKET3</h1>
Β Β Β Β Β Β Β <img src=”images/bike.png” alt=”Motorbike” class=”bike”>
Β
Β Β Β Β Β Β Β <div class=”specs”>
Β Β Β Β Β Β Β Β Β <div class=”spec”><small>ENGINE</small><strong>350CC</strong>Β Β Β Β Β Β Β Β Β Β </div>
Β Β Β Β Β Β Β …
Β Β Β Β </div>
Β Β </div>
</main>
Main Features
- Split screen layout: text on the left, image on the right
- Big model typography (GTR) draws on the power of the title
- Dimmed background title (ROCKET3) for depth
- Specs are displayed in a clean grid for performance
π§± Step 4: Footer Section
HTML
<footer class=”footer”>
Β Β Β <div class=”footer-left”>
Β Β Β Β Β <div class=”social-box”>
Β Β Β Β Β Β Β Β <a href=”#”>FB</a>
Β Β Β Β Β Β Β Β …
Β Β Β Β Β </div>
Β Β Β </div>
Β
Β Β Β <div class=”footer-center”>
Β Β Β Β Β <div class=”mouse-icon”>…</div>
Β Β Β </div>
Β
Β Β Β <div class=”footer-right”>
Β Β Β Β Β <a href=”#” class=”preorder”>PRE ORDER</a>
Β Β Β </div>
</footer>
Highlights
- Social bar in yellow-orange on the left side of the footer sections
- Animated mouse scroll indicator at the center
- Preorder CTA button on the right side of the footer
π§± Step5: JavaScript Functionality
JS
// Mobile Menu Toggle…
const menuIcon = document.getElementById(‘menuIcon’);
const closeIcon = document.getElementById(‘closeIcon’);
const mobileMenu = document.getElementById(‘mobileMenu’);
Β
menuIcon.addEventListener(‘click’, () => { … });
closeIcon.addEventListener(‘click’, () => { … });
Β
// Mouse wheel animation…
…
Features
- Smoothly nudging menu open/closed
- Continuing the mouse wheel motion nudges smooth movement to provide subtle movement to UI
π§± Step6: CSS Highlights
Techniques Used
- :root variables for a consistent theme
- Flexbox for layout
- Absolute positioning for the background titles
- Clip-path and transform for visual depth
- Responsive design using media queries
Example Snippet
.hero {
Β Β Β display: flex;
Β Β Β align-items: center;
Β Β Β justify-content: space-between;
Β Β Β padding: 50px 80px;
Β Β Β position: relative;
}
.model {
Β Β Β font-size: 18rem;
Β Β Β font-style: italic;
Β Β Β color: #f4a200;
Β Β Β font-weight: 800;
}
.bg-title {
Β Β Β font-size: 10rem;
Β Β Β color: rgba(0, 0, 0, 0.05);
Β Β Β position: absolute;
Β Β Β left: 50%;
Β Β Β transform: translateX(-50%);
}
Β
π§± Step7: Responsive Design
Responsive Changes
- Below 1024px, text/image scales down
- Below 768px, hero area stacks vertically
- Below 480px, logo is compact with less spacing
The goal is to ensure it looks premium and readable at all screen sizes.
π Key Visual Elements
- Dual-Toned Layout – Modern appeal in black, white, and golden-yellow
- Dynamic Typography – Large italicized βGTR“ text layered to give it an energetic feel and be dynamic
- Scroll Cue Animation – Subtle invitation for interaction
- Fluid Navigation – Moves easily across mobile/desktop styles
- Performance Driven Specs Grid – Clean aesthetics and informationalΒ
π Key Visual Elements
This Motorbike GTR Showcase configures modern typography, bold imagery, and a minimalist layout design to create a powerful interactive brand experience– perfect for automotive websites or tech-based landing pages.
Previous Post
Design Synth
Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.
Popular Posts
Explore Topics
- Card Design (4)
- Carousel (2)
- CSS and HTML (10)
- Design Synth (11)
- Form Designs (1)
- GSAP (4)
- Header Design (8)
- Hover Effect (4)
- JavaScript (9)
- Navbar Designs (4)
- Parallax (1)
- Slider Designs (2)
- Template Designs (3)
- WordPress (1)
Tag Clouds
- Animation Effects
- Animation Image
- Animation Text
- AOS Animation
- Button
- Card Design
- Cards Design
- Carousel
- Code Tutorials
- Creative Web Templates
- CSS and HTML
- Design Synth
- Effect Image
- Effect Scroll
- Form Design
- Form Designs
- Free Website Template
- Front-End Design
- Glassmorphism Design
- GSAP Animation
- Halloween
- Header Design
- Hover Effects
- HTML
- HTML CSS Projects
- JavaScript
- JS
- Modern Website Design
- Navbar Design
- Navbar Designs
- Parallax Effect
- Parallax Scroll CSS
- Plane Website
- Responsive
- Responsive Design
- Slider Design
- Slider Designs
- SVG
- Tailwind CSS
- Template Designs
- UI Design
- UX Design
- Web Design
- Web Development
- Website Templates
- WordPress Website
Overview
Welcome to the boldly interactive motorbike showcase page for the GTR Series.
The design utilizes simple color palettes, a bold typeface selection, and a responsive interactive design to convey power, precision, and modern luxury.
The page includes:
- A responsive navigational bar with a mobile menu toggle
- A hero section that allows an interesting way to display typography and performance specifications
- A footer with social media and a preorder link
- Smooth transitions and layout shifting for mobile
Project Structure
Before we begin, create the following file structure:
motorbike-GTR-showcase/
β
βββ index.html
βββ style.css
βββ script.js
βββ images/
Β Β Β Β Β βββ bike.png
Β Β Β Β Β βββ next-bike.png
Β Β Β Β Β βββ logo.svg
π§± Step 1: Header & Navigation
HTML:
<header class=”header”>
Β Β Β <div class=”logo”>
Β Β Β Β Β <img src=”images/logo.svg” alt=”Logo”>
Β Β Β </div>
Β
Β Β Β <nav class=”nav-links”>
Β Β Β Β Β <a href=”#”>HOME</a>
Β Β Β Β Β <a href=”#”>SHOP</a>
Β Β Β Β Β …
Β Β Β </nav>
Β
Β Β Β <div class=”nav-icons”>
Β Β Β Β Β <i class=”ri-search-line”></i>
Β Β Β Β Β …
Β Β Β </div>
</header>
Main Features
- Flexbox arrangement for measured alignment
- Icon set from Remix Icons for clean UI icons
- Responsive behaviour: hides menu links, small screens display a hamburger icon
π§± Step 2: Mobile Menu
HTML
<div class=”mobile-menu” id=”mobileMenu”>
Β Β Β <i class=”ri-close-line close-icon” id=”closeIcon”></i>
Β
Β Β Β <div class=”mobile-nav-links”>
Β Β Β Β Β <a href=”#”>HOME</a>
Β Β Β Β Β <a href=”#”>SHOP</a>
Β Β Β Β Β …
Β Β Β </div>
Β
Β Β Β <div class=”mobile-nav-icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-facebook-line”></i><span>Facebook</span></a>
Β Β Β Β Β …
Β Β Β </div>
</div>
Highlights
- Opens/Closes with a smooth fade animation
- Icons are shown horizontally for a modern touch
- Close button (X) on the top-right corner disappears
π§± Step 3: Hero Section
HTML
<main class=”hero”>
Β Β <div class=”left”>
Β Β Β Β Β <div class=”next-thumb”>
Β Β Β Β Β Β Β <div class=”next-top”>
Β Β Β Β Β Β Β Β Β Β <span class=”next-label”>NEXT</span>
Β Β Β Β Β Β Β Β Β Β …
Β Β Β Β Β Β Β </div>
Β Β Β Β Β Β Β Β …
Β Β Β Β Β </div>
Β
Β Β Β Β Β <h2 class=”model”>GTR</h2>
Β Β Β Β Β <h3 class=”tagline”>FRICTION BUSTING<br>LINEAL DESIGN</h3>
Β Β Β Β Β …
Β Β Β Β Β </div>
Β
Β Β Β Β Β <div class=”right”>
Β Β Β Β Β Β Β <h1 class=”bg-title”>ROCKET3</h1>
Β Β Β Β Β Β Β <img src=”images/bike.png” alt=”Motorbike” class=”bike”>
Β
Β Β Β Β Β Β Β <div class=”specs”>
Β Β Β Β Β Β Β Β Β <div class=”spec”><small>ENGINE</small><strong>350CC</strong>Β Β Β Β Β Β Β Β Β Β </div>
Β Β Β Β Β Β Β …
Β Β Β Β </div>
Β Β </div>
</main>
Main Features
- Split screen layout: text on the left, image on the right
- Big model typography (GTR) draws on the power of the title
- Dimmed background title (ROCKET3) for depth
- Specs are displayed in a clean grid for performance
π§± Step 4: Footer Section
HTML
<footer class=”footer”>
Β Β Β <div class=”footer-left”>
Β Β Β Β Β <div class=”social-box”>
Β Β Β Β Β Β Β Β <a href=”#”>FB</a>
Β Β Β Β Β Β Β Β …
Β Β Β Β Β </div>
Β Β Β </div>
Β
Β Β Β <div class=”footer-center”>
Β Β Β Β Β <div class=”mouse-icon”>…</div>
Β Β Β </div>
Β
Β Β Β <div class=”footer-right”>
Β Β Β Β Β <a href=”#” class=”preorder”>PRE ORDER</a>
Β Β Β </div>
</footer>
Highlights
- Social bar in yellow-orange on the left side of the footer sections
- Animated mouse scroll indicator at the center
- Preorder CTA button on the right side of the footer
π§± Step5: JavaScript Functionality
JS
// Mobile Menu Toggle…
const menuIcon = document.getElementById(‘menuIcon’);
const closeIcon = document.getElementById(‘closeIcon’);
const mobileMenu = document.getElementById(‘mobileMenu’);
menuIcon.addEventListener(‘click’, () => { … });
closeIcon.addEventListener(‘click’, () => { … });
// Mouse wheel animation…
…
Features
- Smoothly nudging menu open/closed
- Continuing the mouse wheel motion nudges smooth movement to provide subtle movement to UI
π§± Step6: CSS Highlights
Techniques Used
- :root variables for a consistent theme
- Flexbox for layout
- Absolute positioning for the background titles
- Clip-path and transform for visual depth
- Responsive design using media queries
Example Snippet
.hero {
Β Β Β display: flex;
Β Β Β align-items: center;
Β Β Β justify-content: space-between;
Β Β Β padding: 50px 80px;
Β Β Β position: relative;
}
.model {
Β Β Β font-size: 18rem;
Β Β Β font-style: italic;
Β Β Β color: #f4a200;
Β Β Β font-weight: 800;
}
.bg-title {
Β Β Β font-size: 10rem;
Β Β Β color: rgba(0, 0, 0, 0.05);
Β Β Β position: absolute;
Β Β Β left: 50%;
Β Β Β transform: translateX(-50%);
}
Β
π§± Step7: Responsive Design
Responsive Changes
- Below 1024px, text/image scales down
- Below 768px, hero area stacks vertically
- Below 480px, logo is compact with less spacing
The goal is to ensure it looks premium and readable at all screen sizes.
π Key Visual Elements
- Dual-Toned Layout – Modern appeal in black, white, and golden-yellow
- Dynamic Typography – Large italicized βGTR“ text layered to give it an energetic feel and be dynamic
- Scroll Cue Animation – Subtle invitation for interaction
- Fluid Navigation – Moves easily across mobile/desktop styles
- Performance Driven Specs Grid – Clean aesthetics and informationalΒ
π Key Visual Elements
This Motorbike GTR Showcase configures modern typography, bold imagery, and a minimalist layout design to create a powerful interactive brand experience– perfect for automotive websites or tech-based landing pages.
Previous Post
Design Synth
Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.
Popular Posts
Explore Topics
- Card Design (4)
- Carousel (2)
- CSS and HTML (10)
- Design Synth (11)
- Form Designs (1)
- GSAP (4)
- Header Design (8)
- Hover Effect (4)
- JavaScript (9)
- Navbar Designs (4)
- Parallax (1)
- Slider Designs (2)
- Template Designs (3)
- WordPress (1)
Tag Clouds
- Animation Effects
- Animation Image
- Animation Text
- AOS Animation
- Button
- Card Design
- Cards Design
- Carousel
- Code Tutorials
- Creative Web Templates
- CSS and HTML
- Design Synth
- Effect Image
- Effect Scroll
- Form Design
- Form Designs
- Free Website Template
- Front-End Design
- Glassmorphism Design
- GSAP Animation
- Halloween
- Header Design
- Hover Effects
- HTML
- HTML CSS Projects
- JavaScript
- JS
- Modern Website Design
- Navbar Design
- Navbar Designs
- Parallax Effect
- Parallax Scroll CSS
- Plane Website
- Responsive
- Responsive Design
- Slider Design
- Slider Designs
- SVG
- Tailwind CSS
- Template Designs
- UI Design
- UX Design
- Web Design
- Web Development
- Website Templates
- WordPress Website