Create boxes for each number input

Hi there!

I am creating a form on my website. At the end of the form, the user needs to type in a confirmation code of 5 digits, that has been received by a text message. For my layout, I want to create 5 boxes, one for each number.

I have attached a picture of the desired layout.

Is there anyone that can help me out on this one?

Thank you in advance!