Giter VIP home page Giter VIP logo

fem-3-column-preview-card's Introduction

Frontend Mentor - 3-column preview card component solution

About Project

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

This project uses HTML and vanilla CSS to implement a mobile first, responsive design. The screenshot of the finished product can be seen below.

Design screenshot

Tech stack:

  • HTML to create the structure
  • vanilla CSS to design the webpage
  • Grid and flex layouts to implement the design.
  • BEM naming convention in writing CSS

Process

  • Firstly, to start off the project, I navigated to a newly created directory and created an empty git repo inside using git init command. The FrontEnd Mentor 3-column preview card component challenge repository is cloned in the created repo.
  • Next, all the unused files, inline CSS etc were removed. Font families were added to the project using Google Fonts CDN. All the colors provided in the style-guide.md were added to the :root of the CSS.
  • A CSS reset was implemented. Font size of the page was set to 15px so that 1rem == 15px
  • The main page sanning the full viewport with appropriate background color was implemented.
  • The card component was implemented using mobile first design. The contents were added keeping responsive design in mind.
  • Added media query to look according to the designs using 375px for mobile and 1440px for desktop breakpoints. The static page was tested on various viewports/devices using the Firefox mobile layout viewer.
  • A screenshot of the final result was taken using Firefox screenshot and was added to the project.

Tools used

  • VS Code as the Code Editor
  • Live server VS Code extension to create a dev server
  • Prettier pluggin for code formatting

Links

Author

fem-3-column-preview-card's People

Contributors

kanuos avatar

Watchers

 avatar  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.