I have passed all the user story tests for this project but my web page doesn’t look as neat as I would like it to. The page cuts off at the bottom and I cannot scroll further down to see the rest of the images and video as well as the footer. Also the three nav-links in the top right corner are not fully displaying.
I’m not sure where I have gone wrong. Please help.
You’ve got a lot of fixed positioning. Why?
Do you have the page online so we can see the page in action?
Post the HTML as well. Something could be wrong in the HTML code that you have not posted; and it’s hard to know what the ID selectors are affecting.
I have also noticed that, you have used to many positioning to fixed. Try to find the positioning in CSS and you will get the clear idea. As well, can you please post your link as well, so that it is easy to suggest you what improvement is better.
Thanks for the response.
I’m fairly new to web development and programming in general. I used fixed positioning because relative position was not achieving what I wanted; the images and text were changing positions on the page when scrolling, I wanted them to be static.
I have created a repository on GitHub; here’s the link to the HTML:
Your footer is outside the </body> and </html> tags.
I’m not sure why you’ve put your iframe inside <p></p> tags.
I suspect your fixed positioning is messing up the layout as well.
You have empty sections from line 33 - 34. If they are not going to be used, comment them out or remove them. Also, keep IDs simple without punctuation marks other than - and _. For example, id="men-footware"; same with the internal links to the sections.
You have the same fixed positioning applied to all of them, so they are all being displayed from the same pixel origin.
EDIT: Instead of trying to fix many things, it might be easier to start again using flexbox, which will give you better control over the elements, so that you are not fixed positioning everything. Also, it will be more responsive, you know, look good on different screen sizes.