How do I make these buttons align side by side? I have this so far

/* RETAKE QUIZ BUTTON */
.quiz-container .next-btn, 
.quiz-result .retake-btn { 
    background: #222;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
    cursor: pointer;
    width: fit-content; /*o botão RETAKE QUIZ contido */
}

/* FINISH QUIZ BUTTON */
.quiz-result .finishQuiz-Btn {
    
    background: #222;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
    cursor: pointer;
    width: fit-content; 
    margin-left: auto; /* moves button to the right */
}

If you can put your code in a codepen.io then it will make it easier for some of us to play with the code and answer you.

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').


And you have to show your full HTML and CSS in order to get help, you can just follow the friendly advice above

Can anyone help me with this, please? Thank you.

Hello @rtiozzo !

I am not sure if this will work. But maybe try creating a .retake-btn, .finishQuiz-Btn and set the display to inline.

Not sure this is what you are looking for.

As stated in a previous post, it is difficult to help all code.

Wishing you good progress! :slightly_smiling_face: