Closed nkilm closed 1 year ago
i would like to work on this issue
Please state your plan for this issue i.e, how you would like to solve this issue?
I have solved the issue with JavaScript. You can reply so that we can have discussion as there is another problem about incorrect homepage display.
@SarojWasti Okay I'm listening...
I just javascript fetched the API and displayed the output directly to web by queryselect("class").innerHTML. But another issue arose because the longer riddle took more space in the center and re-adjusted itself to left. I wrote some CSS to solve that too. You can review it and merge if you like the solution.
Okay, cool. I'll assign you.
On the homepage of the API - https://riddles-api.vercel.app/, the API response is typed statically, instead make it dynamic. Everytime the page refreshes, the response should also change.