how do i align a li tag vertically?

Try wrapping all of your list items in a UL element:

 <div className="goals">
      <li>Collect 5 thousand subscribers</li>
      <li>Learn ReactJS </li>
      <li>{succes} Move to apartment</li>
      <li>Start speaking english fluently</li>

Generally speaking you should always use a list tag to start and close any lists that you are using.

Take a look at this for further clarification:

It also may also depend on your CSS too so double check that as well.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top