After spending a day learning CSS and HTML, I decided to recreate a website from a YouTube video and add my own customizations. I was able to center the text in my introduction successfully.
However, upon reviewing my progress (see screenshot here), it is evident that the text does not look as desired. Here is the code I used:
.presentation {
display: flex;
width: 20%;
margin: auto;
min-height: 80vh;
align-items: center;
}
Below is my HTML markup:
<div class="introduction">
<div class="intro-text">