{"id":22349428,"url":"https://github.com/vtickner/frontend-mentor-qr-code-component","last_synced_at":"2025-10-25T05:34:29.542Z","repository":{"id":153165543,"uuid":"628384152","full_name":"VTickner/Frontend-Mentor-QR-Code-Component","owner":"VTickner","description":"Solution to Frontend Mentor challenge to recreate a QR code component","archived":false,"fork":false,"pushed_at":"2023-04-15T19:58:23.000Z","size":336,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T12:34:50.671Z","etag":null,"topics":["component","css","css-flexbox","html"],"latest_commit_sha":null,"homepage":"https://vtickner.github.io/Frontend-Mentor-QR-Code-Component/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VTickner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-15T19:25:00.000Z","updated_at":"2023-11-08T14:10:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c7e6baa-851d-44c8-91de-6abc12f93daa","html_url":"https://github.com/VTickner/Frontend-Mentor-QR-Code-Component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VTickner%2FFrontend-Mentor-QR-Code-Component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VTickner%2FFrontend-Mentor-QR-Code-Component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VTickner%2FFrontend-Mentor-QR-Code-Component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VTickner%2FFrontend-Mentor-QR-Code-Component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VTickner","download_url":"https://codeload.github.com/VTickner/Frontend-Mentor-QR-Code-Component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245641486,"owners_count":20648656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","css","css-flexbox","html"],"created_at":"2024-12-04T11:08:17.708Z","updated_at":"2025-10-25T05:34:29.460Z","avatar_url":"https://github.com/VTickner.png","language":"CSS","readme":"# Frontend Mentor - QR code component solution\n\nThis is a solution to the [QR code component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H).\n\n## Table of contents\n\n- [Overview](#overview)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n\n## Overview\n\nThe challenge was to build a QR code component and get the design for both the mobile and desktop versions to look as close as possible to the provided images.\n\n### Screenshot\n\n![Mobile qr code component screenshot](./images/mobile-qr-code-screenshot.jpg)\n![Desktop qr code component screenshot](./images/desktop-qr-code-screenshot.jpg)\n\n### Links\n\n- Solution URL: [https://github.com/VTickner/Frontend-Mentor-QR-Code-Component](https://github.com/VTickner/Frontend-Mentor-QR-Code-Component)\n- Live Site URL: [https://vtickner.github.io/Frontend-Mentor-QR-Code-Component/](https://vtickner.github.io/Frontend-Mentor-QR-Code-Component/)\n\n## My process\n\n- Created semantic HTML first\n- Used GIMP (utilising guides and rulers) to help understand spacing and sizing for various elements of the design using the images provided\n- Created CSS selectors to:\n  - create custom variables to contain the various colours and font sizes used in the design\n  - reset margin and padding to 0 with box-sizing: border-box to help with more accurate size measurements\n  - layout the design using Flexbox\n  - style the various elements\n  - create a diffent width layout for desktop version\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- Mobile-first workflow (responsive design)\n- Google Fonts\n\n### What I learned\n\nWas able to put into practice recent learning regarding CSS Flexbox and using variables within CSS.\n\n### Continued development\n\nExtra practice using flexbox and integrating it into more complicated designs with CSS grid.\n\n### Useful resources\n\n- [HSL to RGB colour conversion](https://www.rapidtables.com/convert/color/hsl-to-rgb.html) - This helped me to convert the shadow colour from HSL to RGB so that I could use RGBA to create a box shadow on the QR card.\n- [PX to REM converter](https://pixelsconverter.com/px-to-rem) - This helped me to convert px font sizes to rem sizes for a more responsive design.\n- [Google Fonts](https://fonts.google.com/specimen/Outfit) - Font used in the design was Outfit using Regular 400 and Bold 700 font styles.\n- [GIMP](https://www.gimp.org/) - Free and open source image editor.\n\n## Author\n\n- Frontend Mentor - [@VTickner](https://www.frontendmentor.io/profile/VTickner)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtickner%2Ffrontend-mentor-qr-code-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtickner%2Ffrontend-mentor-qr-code-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtickner%2Ffrontend-mentor-qr-code-component/lists"}