- I am most proud of the responsive design, a was able to create
- Next time I want to make the CSS more structured
- The bigest challange was to make the header image full width on mobile phone. It was hard, because the element a placed the image inside has a padding, and I spent a lot of time to figure out how to make the image full width, without removing the padding on mobile device. ChatGPT and a lot of trial-error helped to overcome this problem. Here is the solution:
What specific areas of your project would you like help with?/* Remove border radius on mobile screens */ @media (max-width: 768px) { /* Adjust the breakpoint as needed */ .container { border-radius: 0; /* Remove border radius on mobile */ margin: 0; padding-top: 0; /* box-sizing: content-box; */ } .container img { border-radius: 0; width: 100vw; height: auto; margin-left: calc((-100vw + 100%) / 2); /* margin-left: -32px; */ } }
-
In the "Instruction section" the numbers wont change to Outfit font family. I don't know why.
-
In inspection mode (FireFox developer edition) if I change the view to "Galaxy S20 Android 11" and "Galaxy S10/S10+ Android 11" there is a few pixel wide stripe at the right, and looks like the page is a bit wider than the screen. I don't know why.