<p>Using <ahref="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">flexbox</a> and <ahref="https://css-tricks.com/snippets/css/complete-guide-grid/">CSS grids</a> you can layout anything you want without structure divs.</p>
<p>I demonstrate the idea with a series of copies of existing websites and other layout problems
people frequently encounter. If you have a suggested layout challenge for me, then tell me on Twitter <ahref="https://twitter.com/lzsthw">@lzsthw</a> and I'll give it a shot.
This website is a learning project by Zed A. Shaw, the author of many courses at <ahref="https://learncodethehardway.org">Learn Code the Hard Way</a> and will hopefully result in a good CSS component to <ahref="https://learnjsthehardway.com/">Learn JavaScript the Hard Way</a>. If you find flaws in the reasoning or have suggestions for how to do it better, contact me <ahref="https://twitter.com/lzsthw">@lzsthw on Twitter</a> and get a special thank you in the credits of this site and the course.