As someone new to the world of HTML and CSS, I am currently working on creating colored filled boxes that fit within a border box. The challenge is to ensure they are set at specific width and height dimensions, while also being positioned exactly 2px apart from each other and 6px away from the border itself. A picture of my desired outcome can be found here: https://i.sstatic.net/a4dZi.png
I attempted to share the HTML code directly but encountered an error message mentioning improper formatting. For reference, here is the link to the HTML code: http://pastebin.com/GFRqeRa9
Your assistance in achieving this layout would be greatly appreciated! Thank you for your help!