An open API service indexing awesome lists of open source software.

https://github.com/yashi-singh-9/qr-code-component

This project is a responsive QR Code Component built as part of a Frontend Mentor challenge. It displays a QR code that links to the Frontend Mentor website, offering a clean and simple UI to practice and improve front-end development skills.
https://github.com/yashi-singh-9/qr-code-component

bootstrap css frontend frontend-mentor frontend-mentor-challenge frontend-mentor-solutions html html-css scss

Last synced: 3 months ago
JSON representation

This project is a responsive QR Code Component built as part of a Frontend Mentor challenge. It displays a QR code that links to the Frontend Mentor website, offering a clean and simple UI to practice and improve front-end development skills.

Awesome Lists containing this project

README

          

# Frontend Mentor - QR Code Component Solution

## Overview

✨✨✨ This project is a solution to the [QR Code Component Challenge](https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H) from Frontend Mentor. It features a responsive webpage showcasing a simple yet elegant QR code design, linking to the Frontend Mentor website. The primary goal of this challenge is to improve front-end development skills by creating a visually appealing and accessible UI component. ✨✨✨

## Live Demo

✨✨✨ View the **live demo** of the project here: [QR Code Component](https://yashi-singh-9.github.io/QR-Code-Component/) ✨✨✨

## Features

- **Responsive Design:** Fully responsive layout optimized for both desktop and mobile devices.
- **Clean Code:** Built with semantic HTML5, SCSS, and Bootstrap for maintainability and modularity.
- **Typography:** Integrated Google Fonts for professional and modern typography.
- **Custom Styling:** SCSS variables and mixins are used for reusable styles and easy theme management.

## Technologies Used

✨✨✨
- **HTML5:** For structuring the content.
- **SCSS:** For enhanced and modular styling.
- **Bootstrap:** For quick and responsive layout design.

✨✨✨

## Visuals

✨✨✨ Below are previews of the project design: ✨✨✨

### Desktop Preview
![Desktop Preview](images/Desktop-Preview.png)

### Mobile Preview

## How to Run Locally

✨✨✨ Follow these steps to set up the project on your local machine: ✨✨✨

1. **Clone the Repository:**
```bash
git clone https://github.com/Yashi-Singh-9/QR-Code-Component.git
```

2. **Navigate to the Project Directory:**
```bash
cd QR-Code-Component
```

3. **Open the Project in a Browser:**
```bash
open index.html
```

## Folder Structure

✨✨✨

```
QR-Code-Component/
|-- images/ # Images used in the project
|-- styles.scss # SCSS file for custom styling
|-- styles.css # Compiled CSS file
|-- index.html # HTML structure
|-- README.md # Project documentation
```

✨✨✨

## Usage

✨✨✨ The QR Code Component is a static webpage that can be used as a standalone UI component or embedded into larger projects. Simply open the `index.html` file in any modern browser to view the component. ✨✨✨

## Roadmap

✨✨✨ Potential future improvements include: ✨✨✨

- Adding hover and focus effects to make the component more interactive.
- Including animations for the QR code to enhance user engagement.
- Extending the design with a dark mode toggle.

## SCSS Installation and Setup

✨✨✨ Follow these steps to install and run SCSS for this project: ✨✨✨

### Prerequisites
- **Node.js and npm:** Ensure you have Node.js and npm installed on your system. If not, download and install them from [Node.js Official Website](https://nodejs.org/).

### Installation Steps

1. **Navigate to the Project Directory:**
```bash
cd QR-Code-Component
```

2. **Initialize npm (if not already initialized):**
If you don't have a `package.json` file in your project, initialize npm by running:
```bash
npm init -y
```

3. **Install SCSS (Sass):**
Use npm to install the SCSS preprocessor:
```bash
npm install sass --save-dev
```

### Running SCSS

1. **Compile SCSS to CSS:**
To compile SCSS into CSS, run the following command:
```bash
npx sass styles.scss styles.css
```

2. **Watch for Changes (Optional):**
If you want to watch the SCSS file for changes and automatically compile it, use:
```bash
npx sass --watch styles.scss:styles.css
```

3. **Link the Compiled CSS in Your HTML:**
Ensure the compiled `styles.css` is linked in your `index.html`:
```html

```

## Contributing

✨✨✨ Contributions are welcome! Here’s how you can contribute: ✨✨✨

1. **Fork the Repository:**
2. **Create a Feature Branch:**
```bash
git checkout -b feature-name
```
3. **Make Changes:** Commit your updates with a clear description.
4. **Push Changes:**
```bash
git push origin feature-name
```
5. **Submit a Pull Request:** Open a pull request to the main branch.

## Acknowledgments

✨✨✨
- **Challenge by:** [Frontend Mentor](https://www.frontendmentor.io)
- **Coded by:** [Yashi Singh](https://www.linkedin.com/in/yashi-singh-b4143a246)
✨✨✨

## License

✨✨✨ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information. ✨✨✨

---

✨✨✨ Thank you for checking out my solution! Feel free to share your feedback or ask any questions. ✨✨✨