when display flex list numbers are gone code example
Example: list-style-type flex
list-style applies to elements with display: list-item only – so by making your LI display: flex, you are removing the prerequisite for list-style to have any effect.