Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Clone (Frontend Project)

Description

This is a YouTube clone built using HTML and CSS. It replicates the core UI of YouTube, including the navbar, sidebar, and video grid layout. The project is focused on practicing frontend development, layout design, and responsive styling.


Live Demo

View Live Project


Tech Stack

  • HTML5 (structure)
  • CSS3 (styling)

Layout & Design

  • Flexbox (header, navbar, sidebar alignment)
  • CSS Grid (video grid layout)
  • Responsive Design (media queries for different screen sizes)

UI Components

  • Fixed header with search bar
  • Sidebar navigation menu
  • Horizontal scrollable category navbar
  • Video cards layout (YouTube-style grid)
  • Tooltips on hover elements
  • Notification badge UI

Responsiveness

  • Media queries for different screen sizes:
    • 2 columns (small screens)
    • 3 columns (medium screens)
    • 4 columns (large screens)

Positioning & Effects

  • position: fixed (header & sidebar)
  • position: absolute (video time badge, notifications)
  • Hover effects (buttons, sidebar links)
  • Smooth tooltip transitions
  • z-index layering for UI stacking

UI Behavior Techniques

  • Horizontal scrolling navbar (overflow-x)
  • Flex shrinking control (flex-shrink: 0)
  • Inset shadow styling (search bar)
  • Rounded UI elements (buttons, profile pictures)

Features

  • YouTube-like homepage UI
  • Fully responsive layout
  • Sticky header and sidebar
  • Interactive hover tooltips
  • Clean video grid system
  • Modern UI spacing and alignment

Folder Structure

youtube-clone/
├── channel-picture/      # User/Channel profile images
├── icons/                # SVG or PNG icons for buttons/UI
├── styles/               # CSS directory
│   ├── general.css       # Global resets and typography
│   ├── header.css        # Styles for the top navigation bar
│   ├── sidebar.css       # Styles for the left-hand navigation
│   └── video.css         # Styles for video cards and grid
├── thumbnails/           # Preview images for the video list
├── index.html            # Main entry point
└── README.md             # Project documentation

How to Run Locally

1. Clone the repository

git clone https://github.com/md-ashraful-islam-ullas/YouTube-Clone.git

2. Open the project folder

cd YouTube-Clone

3. Run in browser

Open index.html in your browser.


Author

Ashraful Islam Ullas

About

This project is a basic clone of YouTube, created using HTML and CSS. It showcases the fundamental structure and design elements of a video-sharing platform, emulating the look and feel of YouTube's user interface.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages