/viewport

A basic project that tells you the resolution of your viewport.

Primary LanguageJavaScript

Viewport Resolution

This simple web project displays the resolution of the user's viewport. It is built using HTML, CSS, and JavaScript.

Table of Contents

Demo

You can see a live demo of the project here.

Installation

To use this project locally, follow these steps:

  1. Clone this repository to your local machine using the following command:

    git clone https://github.com/username/repository.git
    
  2. Navigate to the project directory:

    cd repository
    
  3. Open the index.html file in your web browser.

Usage

When you open the index.html file, the webpage will automatically display the resolution of your current viewport. The resolution will be updated dynamically if you resize your browser window.

Contributing

Contributions to this project are welcome. To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request.