Hovering over the element during inspect element shows these numbers:
This is a basic HTML element block with two "div" elements nested inside. The first div is a p text. The second div contains radio buttons for the user to select
Repeat to meet text requirements:hovering over the element during inspect element shows these numbers:
This is a basic HTML element block with two "div" elements nested inside. The first div is a p text. The second div contains radio buttons for the user to select
2
Answers
I think it represents CSS Grid line numbers
So in your layout,
Thanks
@Steven already correctly stated that those numbers are "grid Lines".
Unfortunately, he is largely incorrect on a technical level after that.
"Grid Lines" exist horizontally (
grid-column
) and vertically (grid-row
). Thestart
starts with a positive number and theend
starts with a negative number.The important part here is, that
start
is not necessarily thetop
andleft
. Likewise theend
does not have to be thebottom
orright
!The
start
is always depending on the flow direction, which depends on the flex-flow when using flexbox as well as the read direction. Japanese and Arabic has adirection: rtl
which means that by default the start will be at the right side:Unlike Steven’s answer, you only have a 1-column and 2-row grid. Both
Students
andDate
are not part of the Grid!The description
chose your favorite web language
is within the first row:The
<input type="radio">
must be along it’s labels within a container as the container and occupy the 2nd row.A good explanation of "Grid Lines" is this picture from CSS-Tricks:
Overall it is well documented at MDN WebDocs.
The code for the grid in question is similar to this:
Which results in the following "Grid Lines":
As already said above, it is a 1-column and 2-row grid:
References:
https://developer.mozilla.org/en-US/docs/Glossary/Grid_Lines
https://css-tricks.com/snippets/css/complete-guide-grid/
https://developer.mozilla.org/en-US/docs/Web/CSS/direction
https://developer.mozilla.org/en-US/docs/Web/CSS/flex-flow