Skip to content

evrendev/calculator-app

Repository files navigation

Frontend Mentor - Calculator app solution

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

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size

Screenshot

desktop image mobile image

Links

Setup

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

My process

I started by reviewing the design specification. I then started markup knowing that the mobile and desktop layouts would use the same cards, with different page layouts. From there, I stated the styling with mobile-first workflow and then created two media queries to handle the transition from the mobile to the desktop layouts.

Built with

  • Vue3 with Vite
  • Semantic HTML5 markup
  • Mobile-first workflow
  • SCSS preprocessing
  • CSS custom properties
  • Flexbox

What I learned

This project was an excellent excercise in JS and CSS. I learned how to add theme support using JS and CSS. Also helped me take my JS knowledge to the next level.

Continued development

I am looking forward to the next project to build on the JS and CSS experience for an additional challenge.

Useful resources

Author