moved Cards.css to before core script and added defer so that cards don't appear before the stylesheet i sloaded