Coder Social home page Coder Social logo

cromega08 / nft_preview_card Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 249 KB

A Preview Card for NFT. Challenge from Frontend Mentor.

Home Page: https://cromega08.github.io/nft_preview_card/

License: GNU Affero General Public License v3.0

HTML 42.46% CSS 57.54%
100-days-of-code 100daysofcode 100daysofdailyui css css-grid css3 frontend frontend-mentor frontendmentor frontendmentor-challenge

nft_preview_card's Introduction

Frontend Mentor - NFT preview card component solution

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

Table of contents

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size
  • See hover states for interactive elements

Screenshot

Cromega_Solution

Links

My process

The process was complicated. At start i accomplish to design the card, was really easy and love it the design. The problem was the responsive design, i didn't know how to do a webpage responsive until now, so push myself to study and ended burnedout and without the ability (xd).

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • CSS @media queries
  • CSS Grid
  • Webpage-first workflow

What I learned

As mentioned before, the main thing i learned was responsive design.

Had problems with the condition of make it responsive for diferents screen sizes because the card scaled with the screen size, but figured out how to resolve it.

My first implementation of a @media query in css:

@media (max-width: 401px) {
    body {
        justify-items: left;
    }
    section {
        width: 72.5vw;
        padding: 3vh 10vw;
    }
    
    aside > div {
        width: 90vw;
        padding: .275em
    }
    
    footer {
        font-size: 1.15em;
        justify-self: center;
    }

    label > img {
        width: 77.5vw;
    }

    #background {
        width: 77.5vw;
    }

    #offer {
        width: 75vw;
        margin: 0 .5em;
        font-size: 1.1em;
    }

    #creator {
        width: 75vw;
        padding-top: 1em;
    }

    #title {
        font-size: 1.5em;
        margin: 0;
        margin-top: .35em;
    }

    #limit {
        font-size: 1.3em;
    }

    #author {
        font-size: 1.3em;
    }
    #description {
        font-size: 1.3em;
        margin: 0;
        margin-top: .3em;
    }

Continued development

I want to continue learning everything i can, actually.

In things related to this project, want to learn more responsive design and conquer it.

Useful resources

  • Learn Responsive Design - this website definitely help and motivated me to understanded how to make responsive design. Only learned "@media queries" until date, but feel pretty confident with my evolution.

Author

Acknowledgments

I wanna thank me, because i managed to accomplish this challenge.

Superbus et Hedonistic~

nft_preview_card's People

Contributors

cromega08 avatar

Stargazers

 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.