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

CSS

Omer Asadullah
Omer Asadullah
10,415 Points

Check my CSS positioning Farm Party

Here is my first exercise in CSS section of Level 1. I would like it to be checked.

I haven't made it scalable yet but I will improve it soon Insha Allah.

Here is the link to the task I had to achieve

http://www.pairuptocode.com/exercises/positioning.html

Here is the link for my assignment.

http://codepen.io/anon/pen/lyJxA

1 Answer

Steven Parker
Steven Parker
229,644 Points

I'm not sure what you want "checked". You say you "haven't made it scalable yet", but it would seem scalability (at least in regards to horizontal position) is the major point of the exercise.

You might try expressing your positions in percentages instead of pixel units. Then, when the window width is changed, the images will move, but still remain on the screen and retain their relative placements.

Omer Asadullah
Omer Asadullah
10,415 Points

How can I convert pixels into percentages.