HI @vanessanellyn !
Welcome to the forum!
I can understand where the confusion is coming from because it is not really explained in the lesson.
I would suggest reading through this explanation of what is happening.
There are a few code examples and a good article to look at regarding spacing and inline-block elements.