Using flexbox for the templte
Error output for writing the HTML