Advice Generator - Api Call + Button to generate new.

Solution retrospective
I don't know how to do the lines around the " effectively, I'd like to know how?
The dice didn't center properly, I used some weird % to somehow center it, how can I get the same results better?
The fetch() Javascript bit, it works, yes. But is there a way to simplify this piece of code?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Patrick van Oostveen's solution.
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