Skip to content

aweliego/interactive-rating-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

animated

Frontend Mentor - Interactive rating component solution

This is a solution to the Interactive rating component 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
  • See a disabled Submit button until a number rating is selected
  • Select and submit a number rating
  • See the "Thank you" card state after submitting a rating

Links

My process

Built with

  • Semantic HTML5 markup
  • Sass
  • TypeScript

What I learned

This is my first project using Sass and TypeScript outside of course guided projects (albeit in fairly moderate amounts).

After valuable feedback, I decided to add one of the above users stories ("See a disabled Submit button until a number rating is selected") and to implement it.

I'm still trying to get the hang of TS, it's really hard for me to understand how it benefits the code at times, and I feel like most of the TS code I wrote was because TS "made" me by showing errors if I didn't.

I definitely learned a lot about the basics of Sass in this project and found it really handy, especially when it comes to switch between styles for active, hover and disabled states.

Besides that, the project helped me consolidate stuff like fading in elements with CSS transitions.

About

Frontend Mentor challenge with TypeScript and Sass

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published