To add a progress bar with HTML and CSS, we add the progress element.
For instance, we write
<progress max="100" value="40"></progress>
to add the progress element.
We set the max attribute value to the value when the bar is full.
And we set the value attribute to the current progress.