Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Litman
1,755 PointsHow do order the content of an HTML page into cards?
In the Intro to HTML and CSS videos, they presented us with a website that has a header, and then two "cards" of content below, in the body. How do you create those "cards", and place them where you want on the page? This wasn't covered in any of the videos.
2 Answers
Steven Parker
231,248 PointsThe link button above points to a challenge instead of a video, so I'm not quite sure what you are referring to. But if it isn't covered later in this course, what you want might be in the CSS Layout Basics course or CSS Transitions and Transforms.
David Litman
1,755 PointsHi Steven, thanks for your reply.
Actually, the video I had just watched and the associated challenge had to do with a mock webpage Treasure had us working on, to go through the HTML and CSS introductory classes. On this mock webpage, there is are a lot of advanced HTML and CSS codes that haven't been covered yet in the lessons. One of them is the way the body of the page is broken down into two "cards", one on the left, one of the right, each being styled by a set of CSS commands.
Although we have been taught how to create a <p> element, and <h1 , etc> elements, there was no lesson that showed how to create them in side-by-side 'cards', or boxes, as they appear.
How/when is this taught?
Steven Parker
231,248 PointsIt's been a while since I took it myself, but it does sound like CSS Layout Basics will probably cover it.