This is my first attempt at writing CSS code. I would like to align all rows of the same block together, but I'm unsure of how to go about it. Here is what I'm attempting to achieve:
If I were using regular HTML, I would simply create a table with as many rows as days and 2 columns. However, since CSS emphasizes separating content from presentation, I believe that approach goes against CSS principles. I'm considering that the necessary code might look like this:
<div>
<div>days</div><div>hours</div>
</div>
However, I'm uncertain about how the CSS should be structured. I'm also confused as to how CSS precisely determines where to position different elements.
Any guidance would be greatly appreciated.