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

Advice Generator using Next.js, Axios and styled-component

#accessibility#axios#next#styled-components#typescript
Nurcholis• 420

@cholis04

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

Tristan Rice• 90

@TristanRiceStudent

Posted

Really like that animation with the dice icon! The only thing I would suggest is maybe to add some placeholder elements while the advice is loading, so that the height of the card doesn't change so drastically. Also, I saw in the code that you've used ThemeProvider in multiple places. What might be easier is to wrap your entire app in the ThemeProvider component, and define each of your colours there.

Marked as helpful

1

Nurcholis• 420

@cholis04

Posted

@TristanRiceStudent Thanks for some of your feedback. This is very helpful for me.

0

@msuryaditriputraR

Posted

Good Work, Nice Animations !

1

Nurcholis• 420

@cholis04

Posted

@msuryaditriputraR thanks bro

0
Aadvik• 1,250

@Aadv1k

Posted

five words -- WOW those animations are sick!

1

Nurcholis• 420

@cholis04

Posted

@Aadv1k Yes it seems so. 🔥

0
Bashar Khdr• 930

@BasharKhdr1992

Posted

The rolling dice animation is really nice. All of your designs are so far 100% identical to the original design files. Really great work.

0

Nurcholis• 420

@cholis04

Posted

@BasharKhdr1992 I appreciate that. Thanks bro

0
Prabhash Ranjan• 2,540

@besttlookk

Posted

Hi, Awsome work Right now i am trying to NEXT, Typescript and Styled-component, and you used all 3 in this , so now i am taking your project as reference and redo this challenge.

I would love if you can help if i get stuck at any point. I am self taught dev so i am in need of some guidence all the time.

This is what my version looks like : https://6f9f7e56.fem-advice-generator.pages.dev/

Thanks, #happyCoding

0

Nurcholis• 420

@cholis04

Posted

@besttlookk Yeah, you should try using Next JS, Styled-components. This is a wonderful thing.

I also recently used Typescript in my project. If this helps, you can use this as a reference for your project.

#HappyCoding

0
Prabhash Ranjan• 2,540

@besttlookk

Posted

@cholis04 Currently im converting my old "REST country" project (which i made using REACT and Tailwind) using NextJS and Styled Component.

I am almost done will it. I will share will you when i am done. I am still not sure about the file structure. I would love have your say on that.

#happyCoding

0
Nurcholis• 420

@cholis04

Posted

@besttlookk That's good. What is the result? I will try to see it soon

0
Prabhash Ranjan• 2,540

@besttlookk

Posted

@cholis04 https://fem-rest-country-v3-nj-sc.vercel.app/

I would love to have some feedback

0
ahmed hazza• 230

@amh092

Posted

the animations area awesome great work keep it up

0

Nurcholis• 420

@cholis04

Posted

@amh092 Thank you

0
P
Zak Schenck• 40

@ZakSchenck

Posted

Best one I've seen so far. Mind if I try to do something similar to this as well?

0

Nurcholis• 420

@cholis04

Posted

@ZakSchenck I don't mind if you do something similar like this. Happy coding

0
Ronaldo• 440

@marckesin

Posted

Nice animations!

0

Nurcholis• 420

@cholis04

Posted

@marckesin Thanks

0
Gianfranco Ferro• 120

@lArkl

Posted

Great job and awesome animation!

0

Nurcholis• 420

@cholis04

Posted

@lArkl Thank you

0
P
Jared Silver• 490

@jsilver88

Posted

Nice job. I would reduce the loading times between each random piece of advice. Right now it seems a bit delayed. But overall it looks great!

0

Nurcholis• 420

@cholis04

Posted

@jsilver88 I'm trying to limit users to 2 seconds to generate suggestions. Because in the Advice Slip JSON API documentation every re-request within 2 seconds will return the same suggestion. I agree with you. This takes a bit longer. Maybe I'll try another approach to handle this. Thank you for your advice.

0
bikeinman• 1,080

@BikeInMan

Posted

so cool..

0

Nurcholis• 420

@cholis04

Posted

@BikeInMan Thanks bro

0

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