Design Synth

Motorbike Website Using HTML CSS & JavaScript

Motorbike Website Using HTML CSS & JavaScript

Motorbike Website Using HTML CSS & JavaScript

Motorbike Website Using HTML CSS & JavaScript

Thumbnail

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

  1. Dual-Toned Layout Modern appeal in black, white, and golden-yellow
  2. Dynamic Typography Large italicized β€œGTR text layered to give it an energetic feel and be dynamic
  3. Scroll Cue Animation Subtle invitation for interaction
  4. Fluid Navigation Moves easily across mobile/desktop styles
  5. 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.

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

4 (1)
No posts found

Explore Topics

4 (1)

Tag Clouds

4 (1)
Thumbnail

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

  1. Dual-Toned Layout Modern appeal in black, white, and golden-yellow
  2. Dynamic Typography Large italicized β€œGTR text layered to give it an energetic feel and be dynamic
  3. Scroll Cue Animation Subtle invitation for interaction
  4. Fluid Navigation Moves easily across mobile/desktop styles
  5. 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.

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

4 (1)
No posts found

Explore Topics

4 (1)

Tag Clouds

4 (1)
Thumbnail
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
  1. Dual-Toned Layout Modern appeal in black, white, and golden-yellow
  2. Dynamic Typography Large italicized β€œGTR text layered to give it an energetic feel and be dynamic
  3. Scroll Cue Animation Subtle invitation for interaction
  4. Fluid Navigation Moves easily across mobile/desktop styles
  5. 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.

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

4 (1)
No posts found

Explore Topics

4 (1)

Tag Clouds

4 (1)