Design comparison
Solution retrospective
So,,,this was my second junior project on FEM.I am proud of experimenting with grid . Proud of learning to make important hamburger feature on mobile sizes .
What challenges did you encounter, and how did you overcome them?**Conquering the Hamburger! **
Building a responsive website can be tricky, but I just tackled a tough one . I wanted to implement a hamburger menu but using display: block and none for animation wasn't working ♀️. Then, it hit me! By setting the popup menu to position: fixed, I could achieve the desired slide-in effect on hover ✨. This is a great learning experience, and next time, I'll explore integrating the navigation bar itself into the popup menu for a cleaner design . Onward to responsive web awesomeness!
What specific areas of your project would you like help with?Beyond the hamburger menu, I'm keen to learn more about responsive web design best practices. Techniques like media queries sound promising for adapting my layout to different screen sizes. I'm also open to exploring responsive image optimization and accessibility considerations. ♿
I truly appreciate any positive criticism – it helps me refine my work! With these improvements, I'm excited to create a truly responsive and user-friendly website.
Community feedback
- @hirashabeerPosted 6 months ago
hi @0xabdulkhalid ,,,could you please spare a moment to REVIEW MY WEBSITE ,and suggest me some improvents..and also help me in finding the mistake that when i previiew my site its perfect but on screenshot why does it layout gets distorted
1@0xabdulkhaliqPosted 6 months agoSalam Alaikum @hirashabeer, The layout seems to be distorted because of the usage of
height: 95vh
for#container
element. You don't need to addwidth: 100%
becausediv
is a block level element so it will consume100%
of available space.Additionally you need to convert those percentage (
%
) forpadding
into relative units likerem
orem
using percentage will highly distort your layout.If you need to design the solution with maximum resemblance of original design then you can try the Pixel Perfect extension. It would help you to place the design images provided by FEM to place that on top your website where you can compare yours with design image.
You can see the results of using Pixel Perfect for
my submission
as an example of how it helps us to design much better looking websites.If you have any questions or need further clarification feel free to reach out to me.
Marked as helpful0@hirashabeerPosted 6 months agoWalaikum Assalam @0xabdulkhalid ! the pixel perfect isn't working for me as the design images are smaller than the web window. how can I use and compare it then? Is it possible I'm overlooking something obvious? Is there a key detail I'm not considering?OR it is just as it is ?
1@0xabdulkhaliqPosted 6 months agoOops @hirashabeer, I forget to mention a thing about using it.
You first need to find the resolution of the Design image provided by FEM. For example: if it would be
1400x900
then you need to open dev mode on browser then toggle RWD (Responsive Design Mode).It will give you some base presets of resolution of devices, You can set the custom width and height on RWD Panel. If you set
1400x900
then it matches the resolution of Design image.Once you done it, you can use Pixel Perfect extension to place the Design image on top of you webpage. Now the Design Image and the Viewport both will be the same and allows you to can design your solution efficiently.
1@hirashabeerPosted 6 months agosalam @0xabdulkhalid , So sorry to bother you again, but....Resizing browser window shrinks design image too ,I am trying to help myself by internet but couldn't do so I wish I could send you a picture ,,,, how to fix it ?
1@0xabdulkhaliqPosted 6 months agoWa alaikum salaam @hirashabeer, I think you could use "Pixel Perfect Pro" for Firefox.
You don't need to shrink the viewport, just make it as same as the Design image's resolution.
Take a look at this example video. (Added as a comment for your commit)
The design image's resolution is
1440x800
so set the viewport as same as that. That's it, once you placed the image you can start working!Marked as helpful1@hirashabeerPosted 6 months agoyes @0xabdulkhalid ,, I didn't shrink the window i resized it to
1440x900
as the design image ,,and the design image also got shrinked i use chrome ,,and i am use to of it,,0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord