You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You don't need to re-import a CSS file that was already imported by another JS file. This will probably cause two copies of the CSS to end up on the page, which is probably not what you want.
Since CSS is a global language any selectors that are included on the page will apply anywhere. E.g. if App.css has a .red { color: red; } class you can apply that class to any element, no matter what JS file it's rendered in.
The text was updated successfully, but these errors were encountered:
Week10TT/src/components/user.js
Line 2 in 91f8cac
You don't need to re-import a CSS file that was already imported by another JS file. This will probably cause two copies of the CSS to end up on the page, which is probably not what you want.
Since CSS is a global language any selectors that are included on the page will apply anywhere. E.g. if
App.css
has a.red { color: red; }
class you can apply that class to any element, no matter what JS file it's rendered in.The text was updated successfully, but these errors were encountered: