Submitted
Fylo Dark Theme Landing Page
- HTML
- CSS
- JS
@littledragonshrimp
Submitted
Submitted
Submitted
This is my first React project on Frontend Mentor.
I kept this simple so there aren't any additional hooks or serious Javascript components. How is this structured? What would you have done differently?
Submitted
I learned a bit here for future problems:
For Dark Mode styling, I learned (but did not apply for this project) about custom CSS themes and giving projects the same name. However, I didn't know how to appropriately switch themes apart from applying the .darkMode class so .darkMode has all the individual stylings for each changed Element.
Problems:
.dark { --bg: #000; }
.light { --bg: #fff; }
body { background-color: var(--bg); }
Submitted
Submitted
Submitted
Submitted
Submitted
I'm having issues with getting the pop-up to be in the correct place, any tips?
Submitted
Submitted
Submitted
Submitted
Submitted
For the most part, placing things in the right area was easy, but there were some things that I clearly need to work on.
What I found difficult:
Questions!
Submitted
I got stuck a few times on this one:
Submitted
Design-wise, this was incredibly easy to do. I went with a mobile-first design approach after finally getting comfortable with media queries.
HTML/SCSS:
On the other hand, getting the javascript to do what I wanted proved incredibly challenging. Fundamentally, I understood what it needs to do to show an error message:
Submitted
I did this one after a 2 week break so this is a bit sloppier than normal.
Questions:
Submitted
I found the card component easy to build, but got stuck on building the background. After incorporating the background through two pseudo-elements, I was able to position the image correctly as seen in the example.
QUESTION: Why does margin-left: auto; / margin-right: auto; not work in this case? Is the parent of .location messing this up?
Submitted
Questions!
Submitted
Questions!
Submitted
Submitted
Submitted
Questions!
Submitted
Process:
Questions:
BIG QUESTION: