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

All comments

  • Azam Mustufa• 360

    @azammustafa66

    Submitted

    The solution is working locally but on GitHub pages it shows this error:

    Uncaught TypeError: Failed to resolve module specifier "axios". Relative references must start with either "/", "./", or "../".

    DESALEGN MIHRET• 250

    @desalegn12

    Posted

    actually, the error comes from Axios package is not installed from this project as a dependency. so to use Axios you need npm, package.json, or yarn, all in all, any package manager. here is the solution : window.onload = async function () { let advices = await fetch("https://api.adviceslip.com/advice"); advices = await advices.json();

    const { slip: { advice, id }, } = advices; //here you can insert id and advice your appropriate place } }

    Have fun!

    Marked as helpful

    1
  • @Uceeyjudy

    Submitted

    I should have started practicing earlier. After a long tutorial hell for 2 year, I am unable to build a simple QR code as per standards. Please do not refer me to another tutorial, I just need to practice more. Feedbacks would be appreciated.

    DESALEGN MIHRET• 250

    @desalegn12

    Posted

    from what you were saying, I appreciate that you can admit your flaw because that is one sign of growth. the most important thing you have to do is just practice CSS. we all are struggling to master CSS skills but CSS[grid, flexbox, position are enough], not anything else. if you can pseudo-elements. I hope you'll come back and say thank you! Good practice!

    Marked as helpful

    0