Open R3ygoski opened 5 months ago
Thank you for your useful feedback. For this css structure when I work with it, the reset and the font files are just working fine but the media queries for tablet and mobile are not working, they are loaded but overridden by the style in the style.css. when I put them in the end they are not even loaded I don't know how to make them work. If you have any idea how can I fix that, I would be glad. Thank you again.
Yes, I tested it here and encountered the same problem, the @import
really didn't work as expected. Instead of using @import
in your CSS, you can then use <link>
in the HTML, which is more likely to work, it would look like this:
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/responsive-mobile.css">
<link rel="stylesheet" href="./css/responsive-tablet.css">
Okay thank you.
Hello Kaoutar, here's the JS and CSS Structure fixed.
JavaScript
Note: I changed
pattern
toemailPattern
becausepattern
is very generic, and can cause some confusion.CSS
If something that I said was unclear, please, comment here below or in FEM so I can help you.