Submitted
Countries API with Dark Mode
- HTML
- CSS
- JS
- API
All buttons work, feel free to press them! 😝
1.- Can someone explain to me how the paths work in fecth?
For example: On my local server I can use this path './data.json' but on github pages it gives me an error, what would be the problem and its solution? 🤔
2.- Can someone give me optimization tips?
For example: On the computer the times are fine, but on cell phones it is super slow! That frustrates me, I'm really new to consuming API's, your help would be great! 😫