I started coding HTML,CSS 7days ago and already I finished 3 challenges but this is my first submission. I faced a problem where if I resize my page the container will resize as well.
David Upegui Londoño
@DavidUpeguiAll comments
- @1stGosuSubmitted over 2 years ago@DavidUpeguiPosted over 2 years ago
Hi there!
Respect the problem about the resizing of the page: Remember, there are two main ways for building the structure of the page; using dthe grid system and the flex system. The grid system works like a table, is good for ordering the items in two dimension (in the y and x axis). The flex system is more flexible, is specially good for ordering the items in one dimension (like centering, spacing between items, etc).
For this excercise the best way were using the flex attribute. By the way, you did a good job and specially about your problem, you should try to change the size of the cells, I mean, you define the cells using "fr", if I'm not bad, the "fr" is a relative measure respect the screen size, so, if you write, for example "5fr" it means that the screen will be dividen in 5 cells with same size, so, if you resize the screen, the "fr" will be changed too.
Good Luck.
PD: Sorry if my English is bad, isn't my native languaje.
Marked as helpful1