Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

React | Sass Calculator App - Tried to build it with TypeScript

BBualdo 540

@BBualdo

Desktop design screenshot for the Calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello!

I build it very quickly, had no problem with styling or structure. JS logic wasn't too hard as well. I know I have to improve some bugs, but that is not the case.

I recently started to learn TypeScript. I made up my way through Max Schwarzmuller's course on Udemy, but this course is a mess for me rn, just theory, nothing besides. So I decided to make this app and give TS a try.

First of all - I can't see advantages of using it. I know that maybe this app is too small for seeing power of TS, but please tell me. What should I do to learn it? I need practical knowledge, not theory. I know what Types are, Generics, Decorators and so on... but where can I learn it by practice? I wish FreeCodeCamp had section with challenges about it.

BTW I had to change tsx files into jsx because I coudn't deploy it for some reason. I tried to compile tsx files into dist/.jsx but nothing worked. So another red flag for TS. I don't want to discriminate this language, because I really want to learn it, but for now it is masochism for me.

Do you have any tips or sources of knowledge for me? I need some projects to build with TypeScript. Anything.

Thank you ❤

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord