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.
https://logashree03.github.io/Screen-Width-Detector-UI/
- π 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
- HTML5
- CSS3
- JavaScript (DOM & screen properties)
- Media Queries
- Google Fonts
screen-width-detector-ui/ βββ index.html βββ style.css βββ index.js
- Working with
screen.widthin JavaScript - DOM manipulation using JavaScript
- Handling window resize events
- Responsive design using media queries
- Dynamic UI updates based on device size
- π GitHub: https://github.com/logashree03
β If you like this project, feel free to star the repository!