You did not post your CSS, but newest, catalogue, and contact will be on separate lines, because the default style for a p element has the display property set to block. You could change that by creating specifying a value of inline-block for the display property in your CSS.
P.S. - I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (
</>) will also add backticks around text.