Skip to content

Logashree03/Screen-Width-Detector-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± Screen Width Detector UI

A simple and interactive Screen Width Detector UI built using HTML, CSS, and JavaScript.
This project dynamically detects the screen width and displays the device type (Mobile, Tablet, Laptop, Desktop) with changing background images.


πŸš€ Live Demo

https://logashree03.github.io/Screen-Width-Detector-UI/


✨ Features

  • πŸ“ Detects screen width in pixels
  • πŸ“± Identifies device type (Mobile / Tablet / Laptop / Desktop)
  • πŸ–ΌοΈ Dynamically changes background images based on screen size
  • πŸ”„ Updates automatically on window resize
  • πŸ“± Fully responsive text using media queries

πŸ› οΈ Technologies Used

  • HTML5
  • CSS3
  • JavaScript (DOM & screen properties)
  • Media Queries
  • Google Fonts

πŸ“‚ Project Structure

screen-width-detector-ui/ β”œβ”€β”€ index.html β”œβ”€β”€ style.css β”œβ”€β”€ index.js


πŸ“š Learning Outcomes

  • Working with screen.width in JavaScript
  • DOM manipulation using JavaScript
  • Handling window resize events
  • Responsive design using media queries
  • Dynamic UI updates based on device size

πŸ“¬ Contact


⭐ If you like this project, feel free to star the repository!

About

A responsive screen width detector built using HTML, CSS, and JavaScript that dynamically updates content and background images based on device size.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors