Skip to content

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

Notifications You must be signed in to change notification settings

yasssuz/tip-calculator-app-oop

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published