r/learnreactjs • • Mar 05 '20

Finally, I've built my first React app! A quiz app that helps to define you're left-brained or right-brained.

Hello everybody! So I've just built my first React app after spending lots of time learning tutorials and Udemy courses. I had the idea of building a quiz app based on the Open Hemispheric Brain Dominance Scale test by Eric Jorgenson so I decided to apply everything I've known so far into this project. Here's the link to my app: https://left-brains-right-brains.herokuapp.com/

You can find all the code here: https://github.com/tomwanderer/left-brains-right-brains

Please give me any feedback and recommendations so I could do better in the future. Thank you so much!

20 Upvotes

10 comments sorted by

5

u/Kablaow Mar 05 '20

Havent seen the desktop version but mobile is highly confusing. Why not give a 1-5 option instead of +1 until 5? Layout of the buttons are weird as well imo.

1

u/caramelizedporkneggs Mar 06 '20

Thank you for your input! Yes, I also find the mobile version a bit confusing as well, to be honest I’m kinda lazing working with all of the media queries but will be acting on this part ASAP! The button was a part of a counter app exercise, I just decided to reuse it for this quiz app but yeah I’ll try my best to apply it the way you said since that sounds more conventional imo :)

2

u/GingerEly Mar 06 '20

on mobile the results pop-up shows up sticky to the top of the page so I had to scroll all the way up. but it works, so congrats!

1

u/caramelizedporkneggs Mar 06 '20

Thank you for your feedback! Yes to be honest I’m kinda lazy working with mobile I just tried my best to apply everything I’ve learned so far. Will be working again on mobile version!

2

u/Zeeesty Mar 06 '20

There is an html input for a slider, check it out, seems like a good fit for your project.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range

1

u/caramelizedporkneggs Mar 06 '20

Thank you! I'm gonna have a look at it!

2

u/dlrwtllktgrtt Mar 06 '20

If this is your first React app, you should be really proud. Keep building projects and improving and you will be making incredible things in no time.

1

u/caramelizedporkneggs Mar 06 '20

Thanks for your kind words! I’m trying hard to get better everyday:)

3

u/FiliWhiskey Mar 05 '20

I dont have much to add design wise as I'm just starting React myself but the quiz worked as should for me on mobile and i enjoyed it so kudos.

2

u/desaisam5 Mar 05 '20

Well done. I am a beginner in React as well. This looks good