<ul> What does ul element do

Hi, I am confused about the <ul> element
I don’t really know what ul element does

It lets you create and display and unordered list as opposed to an ordered list (<ol>).

See examples below:

Unordered List:

  • JavaScript
  • Python
  • Rust

You use an unordered list to show items where the order presented does not matter.

Ordered List:

  1. Wake Up
  2. Drink Coffee
  3. Go to Work
  4. Get Home
  5. Eat Dinner
  6. Go to Sleep

You use an ordered list to show items where the order presented does matter. Above the order is important.