01 - Preheat oven to 350°F (175°C) and line two baking sheets with parchment paper.
02 - In a medium mixing bowl, whisk flour, cocoa powder, baking soda, and salt until thoroughly combined.
03 - In a large bowl, beat butter with granulated sugar using an electric mixer on medium speed until light and fluffy. Add the egg and blend until incorporated.
04 - Add buttermilk and vanilla extract to the wet mixture. Gradually add the dry ingredients, mixing until a smooth batter forms.
05 - Using a spoon or cookie scoop, drop 24 equal portions of batter onto prepared baking sheets, leaving 2 inches of space between each.
06 - Bake for 10–12 minutes or until cakes are set and spring back when gently pressed. Transfer to a cooling rack and allow to cool completely.
07 - In a clean bowl, beat softened butter until creamy. Add powdered sugar, marshmallow creme, vanilla extract, and a pinch of salt. Beat until filling is light and fluffy.
08 - Divide filling evenly into three bowls. Leave one portion plain, tint the second with red food coloring, and the third with blue food coloring.
09 - Pipe or spoon a layer of filling onto the flat side of 12 cakes. Top with the remaining cakes to form sandwiches.
10 - Roll the edges in patriotic red, white, and blue sprinkles, or decorate tops as desired for a festive finish.