I found putting the elements in the middle of the screen a bit challenging. I'm sure of all areas of my code
develoba
@develobaAll comments
- @DoyeDesignsSubmitted about 2 years ago@develobaPosted about 2 years ago
π Hi @DoyeDesign, good job on this challenge!
If you don't mind, I'll give you some recommendations about your code:
- You closed your two containers elements (div) after closing the section element, which is the father element.
- It is recommended to use semantic tags for HTML document. For example, the principal content should be in a main tag and the image could be wrapped in a figure element to give more semantical meaning.
I hope this will help you! Happy coding! π
Marked as helpful1 - @miofriSubmitted about 2 years ago
I don't know how to keep the attribution on the bottom page, centered, and still stays there even on mobile mode. With position: fixed it comes up inside the box when the window's height is smaller than the white box.
@develobaPosted about 2 years agoHi Selvi! Nice work!
I also did this challenge as my first work here.
Responding to your question, I think it could be solved by applying a height to your body element (for example, 100vh), so that it takes the full screen size, and by setting the .attribution's position to sticky, with a bottom property set to 0.
Hope this can help you!
Marked as helpful0