yasssuz / tip-calculator-app-oop

Simple and clean-looking tip calculator app! Project following objected-oriented principles in javascript.

Home Page:https://tip-calculator-app-oop.vercel.app

Repository from Github https://github.comyasssuz/tip-calculator-app-oopRepository from Github https://github.comyasssuz/tip-calculator-app-oop

Frontend Mentor - Tip calculator app solution

This is a solution to the Tip 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 app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Calculate the correct tip and total cost of the bill per person

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • CSS Flexbox
  • CSS Grid
  • Tailwind Css
  • PostCss (for tailwind config only)
  • Vitejs
  • esLint
  • Prettier
  • Mobile-first workflow

Continued development

I learned a few new keywords in javascript, but nothing really life-changing. But building this project using oop principles was actually kinda cool, I learned about static methods, the this keyword, the OO mindset... a very cool experience (but I still prefer the functional paradigm :D). When I find the opportunity to use OO principles again, I'm definitely gonna use them.

Author

About

Simple and clean-looking tip calculator app! Project following objected-oriented principles in javascript.

https://tip-calculator-app-oop.vercel.app


Languages

Language:HTML 63.0%Language:JavaScript 33.8%Language:CSS 3.2%