A question about flex

hello in here i wanna center this text and i used display flex and align-self but it doesn’t work and i wanna know why

If you want to center some element that has flex on it use

align-items: center;

and or this to

justify-content: center;

One if the best resources for using flexbox is

Comes with pretty pictures and everything.

absolutely but there is also an option of
align-self: ; to align a specific item
and it did not work when i used it

thanks it is a great guide