<ul id="fruits">
  <li> Apples </li>
  <li> Raisins</li>
  <li> Oranges</li>
  <li>Dates  </li>
  <li>Pears </li>
  <li>Apricots </li>
</ul>

let fruits = document.querySelector('#fruits')
fruits.style.listStyle = 'none';
fruits.style.border = 'solid green 1.5px'

let listItems = document.querySelectorAll('ul li');
listItems[0].style.backgroundColor = 'aquamarine';

listItems[3].style.fontFamily = 'verdana';

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.