@Mosestule2003
Posted
Hey just saw your solution, again amazing work. ๐ Just a few tips to help with your work
- First use
- body{ Display: flex Align-items: center; Justify-content: center; } Or you can use this *body{ Position: relative; } *container{ position: absolute; Top: 50%; Left:50% Transform: translate(-50%, -50%); } This will center your container in your page properly.
- Secondly to make the last two containers responsive for mobile use this
- create a grid container and two grid items .Grid-container{ Display-grid: grid; Grid-template-column: repeat(2,1fr); Grid-auto-rows: minmax(100px,auto); (This is to make the container responsive). } Within the grid-item containers you made put the content meant from the green boxes there.
- lastly add a media query for the responsiveness, and target the grid- container class giving it a display of block. With this you have an improved solution. Hope this helped happy coding ๐๐จ๐พโ๐ป
@thresholdtech
Posted
hello again, @Mosestule2003 thank you so much for your time on my work, it means a lot to me. Really appreciate every feedback you mention. I will note every suggestion in my book for sure.
I forgot the media query part, thank you to remind me! happy coding!
@Mosestule2003
Posted
@thresholdtech it's alright. Hey I noticed something in your GitHub repo that shouldn't be there. The readme.md template is what is shown there instead of your own custom readme file. Like your meant to use the template as a reference for yours and when done, delete the template file. Please note this is very important ๐
@thresholdtech
Posted
@Mosestule2003 thanks for letting me know. Already deleted them.