how to make the element in the middle code example
Example 1: center a div in css
.container {
display: flex;
justify-content: center;
align-items: center;
}
Example 2: centering css elements
// add to the parent element
.parent {
display: grid;
place-items: center;
}