Hey all. I just finished my Wikipedia viewer and would appreciate any feedback! Two specific questions to anyone well-versed in 1) SCSS and 2) the Fetch API as well:
Is there a way to make my variables/mixins responsive? I originally had all my typography set as variables but when I tried to change said variables in media queries, nothing happened so I just put their values in as normal and later changed them with media queries.
Is there a way I could have broken up my series of Promises into one more step? I have the displaySearchResults() and closeSearchModal() functions in the same .then() block, but I think ideally it would be better to have the results load and show some sort of loading icon in the search modal, then close the search modal whenever the results are ready. Not sure if I’m already doing that or if there’s a way to do so.