Code Monkey home page Code Monkey logo

qr-component's Introduction

Frontend Mentor - QR code component solution

This is a solution to the QR code component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

A QR component card made with tailwind.

Screenshot

Mobile View

Desktop View

Links

My process

Opening tailwind documentation and going through the steps. Since this project doesnt use a ./src file, set the content to the index.html path in tailwind.config. Set fonts and colors used in the style-guide.md inside tailwind.config file so it can be easily accessed when developing.

Use the following command to build the project, and open the index.html file using live server.

npx tailwindcss -i ./input.css -o ./output.css --watch

Built with

  • HTML5
  • Tailwind
  • Flex classes
  • Google fonts

What I learned

Learned how to disable dragging on image elements to make the component feel more professional. Learned how to import fonts inside of tailwind, and add custom color classes to make development faster.

Continued development

My solution to keeping the paragraph and header elements from exanding the card works, but not ideal when the image size must be changed. I will figure out a better solution for future components.

Useful resources

  • Resource 1 - A solution to an issue where the styled were not working for me.

Author

Acknowledgments

Stack Overflow questions and solutions helped me with some difficult to figure out bugs. Various tutorials on YouTube helped me to setup google fonts with tailwind.

qr-component's People

Contributors

brianhammer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.