I have below HTML code
ul {
margin: 0;
padding: 0;
display: flex;
}
ul li {
list-style: none;
color: #484848;
font-size: 80px;
}
<ul>
<li>A</li>
<li>B</li>
<li>C</li>
<li> </li>
<li>E</li>
</ul>
I am expecting results like below
ABC E
but instead, I am getting like
ABCE
I cannot use as in my work I am iterating an array which might be something like below
array = ['A', 'B', 'C', ' ', 'E'];
Could someone please suggest how to get the whitespace for blank value?
here is the code pen https://codepen.io/gs650x/pen/mdmWOMJ