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 trial
Alcibiades Montas
5,974 PointsFramework Basics - Code not working?
Hi guys, I need to answer the following question:
Inside .row, define 3 equal-sized columns that display horizontally in medium devices and up. The columns should evenly span the 12 available columns in a row. I am pretty sure that I have "most" if not all the code right here, but it is not working...could you take a look?
'''<body> <div class="container">
<div class="row">
<div class="4">
<h2>Delete photo & video based on a timer</h2>
<p>Learn how to write the code that downloads and displays messages, photos, and videos that timeout after a few seconds. Then create the code that deletes them from the back-end to make them "self destruct."</p>
</div>
<div class="4">
<h2>Build an easily managed friends list</h2>
<p>Learn what Parse.com offers as a "backend-as-a-service" platform. Explore the user account management APIs provided by Parse.com and write the code to create and save a new user in a Parse.com data store.</p>
</div>
<div class="4">
<h2>Store & retrieve data using cloud servers</h2>
<p>We'll teach you how to upload images, video files, and messages to Parse.com's cloud servers. Then learn how to retrieve the data by setting up custom queries that download and display them in the app.</p>
</div>
</div>
</div>
</body>'''
1 Answer
Chris Dziewa
17,781 PointsI am assuming this is Bootstrap. If it isn't I can help you for Foundation as well. You must specify more than a number for your class. We do this by first stating it is a column, then the window size we want this to take effect and then the number of columns. Your code should be like this:
<div class="row">
<div class="col-md-4">
<h2>Delete photo & video based on a timer</h2>
<p>Learn how to write the code that downloads and displays messages, photos, and videos that timeout after a few seconds. Then create the code that deletes them from the back-end to make them "self destruct."</p>
</div>
<div class="col-md-4">
<h2>Build an easily managed friends list</h2>
<p>Learn what Parse.com offers as a "backend-as-a-service" platform. Explore the user account management APIs provided by Parse.com and write the code to create and save a new user in a Parse.com data store.</p>
</div>
<div class="col-md-4">
<h2>Store & retrieve data using cloud servers</h2>
<p>We'll teach you how to upload images, video files, and messages to Parse.com's cloud servers. Then learn how to retrieve the data by setting up custom queries that download and display them in the app.</p>
</div>
</div>