The <h3> won't align with other items | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

The <h3> won't align with other items

I'm trying to learn the flexbox, I want to align the <h3> with the four buttons at the top but it always go on the bottom can someone help me? Here's the code: https://code.sololearn.com/W1sa5L7556H0/?ref=app

5th Sep 2019, 9:58 AM
Alfred
Alfred - avatar
2 Respostas
+ 4
Add to the h3 the css "display:inline;
5th Sep 2019, 11:07 AM
šŸ‡ Alex Tușinean šŸ’œ
šŸ‡ Alex Tușinean šŸ’œ - avatar
+ 2
<button><h3 style="color:#eee">Title</h3></button> or... <h3 style="color:#eee">Title</h3> (remove the button) like this??? check in your code. if I understood correctly ... what you need is to put the h3 inside the button (Be careful with the opening and closing tags)
5th Sep 2019, 2:04 PM
Eze