Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Huddle Landing Page

Kakamotobi• 160

@Kakamotobi


Design comparison


SolutionDesign

Solution retrospective


I would appreciate any sort of feedback on best coding practices.

Community feedback

Raymart Pamplona• 16,140

@pikapikamart

Posted

Good work on this one. Though there are some suggestions.

  1. There seems to be an unwanted scrollbar at the body, upon checking your css, it looks like the width declaration in your body tag is the one causing it. Instead of using width: 100vw use width: 100% or you could just omit the width property.
  2. Adding a gap in your main tag, so that if a user resizes it, there will be space between the hero and the header text beside it. Maybe just a gap: 0 1rem is enough or tweak into your preference, after all it is just a suggestion.
  3. Removing the position: absolute in the footer tag will make it not float, since right now, it is located in the middle of screen which we do not want right. Removing it will be awesome.

Beside those, great work, your layout seems resizes well^^

0

Kakamotobi• 160

@Kakamotobi

Posted

Thanks for your feedback!

  1. I'm working on a macbook pro, chrome browser but I don't appear to have any unwanted scrollbar. But since I want the best experience for every user and device, I'll go ahead and apply your feedback! **Quick Question: If I could just omit the width property, in what situations would I need to use it?

  2. I haven't used gap before. Thanks for letting me know.

  3. I set position: absolute and bottom: 0 in the footer tag to stick it to the bottom of the page. It works fine on my laptop and phone. I'm not sure why it appears to float in the middle of your screen. Do you have any insight on this?

P.S. Sorry for bombarding you with questions^^ It seems a difficult and strenuous task to deliver a consistent web page experience for all devices and browsers.

0
Raymart Pamplona• 16,140

@pikapikamart

Posted

@Kakamotobi Hey, regarding your queries

  1. Well, of course to limit sizes right. Or to make something, especially child of parent selector to take some width of the parent if you make the width's unit relative to parent or to the viewport.

  2. Your welcome, gap is very helpful you will know :>

  3. Well, the reason is that is the position absolute first. Since when declared in absolute, it goes out of flow, and wills stick depending on what parent container have the position: relative. But I can see right now that you removed the position: absolute which is good. Because we typically not add that, especially if the component that we want to absolute, is an important part of the markup or the structure of our website.

Don't worry if you ask many questions hahaha feel free to drop those okay^

0
Kakamotobi• 160

@Kakamotobi

Posted

@pikamart

Thanks for the help!

  1. Say, for example I have a web page with not much content on the main portion. I don't want my footer to crawl up the empty space and be in the middle of the body. I want it to remain at the bottom of the page. How do I do this without using position: absolute and bottom: 0?
0
Raymart Pamplona• 16,140

@pikapikamart

Posted

@Kakamotobi Well for this one, I suggest that you just add a margin-top to the footer, so that it will be pushed down the bottom. But there are also other ways and it depends on the build of your structure really^^

1
Kakamotobi• 160

@Kakamotobi

Posted

@pikamart

Thanks a lot!

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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