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
Nick Pettit
Treehouse TeacherForum Contest: Photo Gallery
EDIT: This contest has ended! Congratulations to Charlie Hield for his winning entry! Our next contest is all about CSS animation.
Hi everybody,
It's time for a new Treehouse Forum contest! First, watch this video to learn more:
After you've watched the video, please read the details below carefully. I'm looking forward to your entries!
How to Enter: Create your photo gallery entry as a "pen" on Codepen.io and then post the link to your pen as an answer to this post.
Due Date: All entries must be submitted by February 2nd at 11:45pm ET. Here's a timezone chart so you can see what time that is for your locale.
Prize: The entries will be judged by Treehouse teachers based on both design and code. One winner will receive a free month of Treehouse Gold on us! :) We'll announce the winner on February 3rd and reveal the next contest.
30 Answers
Matthew Mascioni
20,444 PointsAwesome, let's get this party started! Good luck to all :)
agreatdaytocode
24,757 PointsParty Time!
Zachery Campbell
10,617 PointsI'm pretty solid behind the camera, not so much with the code. One day I'll join these contests in confidence; until then I'm interested to see everyone's entries! Good Luck!
Andrew Barber
3,865 PointsThe same applies for me. Gotta love a bit photography!
James Nelson
23,956 PointsHello Zachery Campbell and @Brade B,
I am going to code something up for this contest, could I use you're photography? :)
Zachery Campbell
10,617 PointsYEA! How many pictures do you need?
Roberto Cabrera
764 Pointsi will also like to use your photos, if you do not mind! i will need about 6(medium-large).. :)
Zachery Campbell
10,617 PointsJames and Roberto,
Check out:
http://500px.com/Zachery_Campbell
Give me the names of (6) you'd like me to send you; email me at zb.campbell@yahoo.com.
James Nelson
23,956 PointsHey Zachery Campbell,
Had a peek through, you're photography is fantastic. What DSLR are you using? If you have those images in a single file, could you zip them up and send them to jamesnelson117@gmail.com.
Cheers
Carla Thomas
Front End Web Development Techdegree Student 16,039 PointsWow! Your photos are great :)
Zachery Campbell
10,617 PointsThanks Carla and James, I only have a Nikon D5200 right now :( but one day I'll get a full frame, probably a D4. Anyway...I'm still excited to see everyone's galleries!
OJ Kareem
294 PointsGood now to fry up some code elements for Super. I am in!
Marcus Tisäter
4,886 PointsI did a picture gallery in ruby, can I enter the contest with that?
Nick Pettit
Treehouse TeacherSure! Any backend language (like Ruby) should output HTML, CSS, and JavaScript. We will be judging the contest based on both design and code.
Marcus Tisäter
4,886 PointsGreat thanks, I'm going to readjust my readme file and then I link the code here :)
James Nelson
23,956 PointsHey Nick Pettit,
Mind if i enter the contest via a live link or a Github submission?
Marcus Tisäter
4,886 PointsI'm sure a github submission is fine, right? :)
Nick Pettit
Treehouse TeacherPlease submit a live link. Unfortunately it's not really feasible for us to install tons of applications locally and judge them that way.
Marcus Tisäter
4,886 PointsHere is my ruby project of the Picture Gallery.
This application works perfect if you have a album that you want live on a website! Choose a folder with pictures (png,gif,jpg are allowed) and then my program will upload them on a HTML page as a nice looking album.
Nick Pettit
Treehouse TeacherHi Marcus,
Please submit a live link if you can. We don't really have the resources to install and run applications locally. Thanks!
Nick Henry
3,440 PointsDoes the entire code have to include Javascript, or can it be HTML and CSS only?
James Nelson
23,956 PointsIt shouldn't have to include Javascript Nick, only if you want to use it.
Nick Pettit
Treehouse TeacherIt can be any combination of HTML, CSS, and JavaScript.
Kyle Noble
6,552 PointsHey Everybody!
Here is my entry:
code: http://jsfiddle.net/kylenoble/8Wf8r/ result: http://jsfiddle.net/kylenoble/8Wf8r/embedded/result/
This was tough but a lot of fun! Any feedback, criticism, advice, etc. is more than welcome.
Thanks,
Kyle
Larry Cousino
23,127 PointsHi Kyle,
Really nice work. Just a quick question. When I enlarged a photo there were two option to "X" close it and "i" for information (I'm guessing); however, when I click the "i" the enlargement closes. Is that because no information was included? Thanks.
P.S. A couple pics made me really miss Washington state! Good luck with the contest.
James Barnett
39,199 PointsKyle Noble - Remember the contest rules state that each entry should be on codepen.io
Kyle Noble
6,552 PointsThank you so much Lawrence Cousino! There was a bug in Firefox but I updated it so it should work now. Thanks for pointing that out. Washington state is beautiful. Those pictures are of my two favorite places in Seattle.
James Barnett- Is it ok if I leave it in jsfiddle? Codepen.io doesn't seem to allow the window.open() method while jsfiddle does.
Adam Sackfield
Courses Plus Student 19,663 PointsHere goes :) pen
Features - pseudo ::after ::before transitions.
Misty Majewski
5,276 PointsThat is a cool idea.. Like how each one opens and closes..
Adam Sackfield
Courses Plus Student 19,663 PointsThanks, didn't spend any time on design just wanted to show the animation idea :)
Roberto Cabrera
764 PointsOk here it is! (http://cdpn.io/CAyiL) [http://cdpn.io/CAyiL]
html5 - css3 - jquery
A special thanks to Zachery Campbell for sharing such amazing photos!
Zachery Campbell
10,617 PointsNice Roberto!
Nick Henry
3,440 PointsAwesome Job! I like the photos and the transition effects.
Nick Henry
3,440 PointsHere is mine; only with HTML and CSS.. I hope everyone enjoys! Full page: [http://cdpn.io/cBjbu] On codepen: [http://codepen.io/technickal1/pen/cBjbu]
Holly Banning
16,096 PointsHere's my attempt, hopefully I've linked it right: http://codepen.io/Nhorn/full/Fjwpv
Was fun to make anyhow:)
Matthew Mascioni
20,444 PointsAmazing entries so far, guys! :) Some serious talent in here.
James Anwyl
Full Stack JavaScript Techdegree Graduate 49,960 PointsHad a go and came up with this: http://codepen.io/jamesanwyl/full/wxpFL . Built with h5bp / initializr and flexslider . Really struggled with this challenge and its still got plenty of bugs but learnt so much so thanks! Wish I had another week to start over again lol.
Any feedback is much appreciated :)
Jacob Roman
22,640 PointsHere is my entry:
Holly Banning
16,096 PointsReally nice animation/transitions:)
But the buttons are kinda hard to see and I was surprised you couldn't just click on the blue books to open the images instead, if that's helpful at all. Nice stuff though:)
James Ingmire
11,901 PointsReally impressive, nice work.
Aaron Holland
14,953 PointsHere is my entry: http://cdpn.io/qIHJw
Its a fully responsive design, and it takes up the full width to really showcase the photo's. Hope you guys enjoy!
James Nelson
23,956 PointsHere is my entry - http://www.jnelson.co.uk/Jnelson/image_gal/index.html
Zachery Campbell designed it as if someone was looking at you're account on a photography app ;) Thanks again for the images
Brian Holsey
4,760 PointsSo I built this photo gallery to be most functional for users that actually have a numeric keypad on their keyboards, but I tried to make it as usable as possible for mobile devices and regular computers also:
(Quick sidenote: you may need to click once in the window area in order to use the keyboard to highlight photos; not sure if there's a way to circumvent that, but any feedback is appreciated!)
James Nelson
23,956 PointsWow! That is awesome :D
Nick Henry
3,440 PointsReally cool. It's very creative.
Danielle Hill
26,062 PointsBelow is a link to my entry. All feedback and critique is welcome and appreciated.
Paul Yorde
10,497 PointsSubmission: code \ (http://codepen.io/demetriusPop/pen/nIimC) full page \ (http://codepen.io/demetriusPop/full/nIimC)
Built with bootstrap and a bit of jQuery. Pen doesn't seem to accept svg, so my design suffered slightly (SOBB..)
Maximiliane Quel
Courses Plus Student 55,489 PointsI'm calling it a night too ;0)
Here is my entry link As always feedback is welcome.
Zachery Campbell
10,617 PointsNice!
Maximiliane Quel
Courses Plus Student 55,489 Pointshaha thanks. nice feedback is especially welcome ;0)
Thomas K
11,565 PointsWhens the due date? Oh well... heres what I came up with just now.
Nick Pettit
Treehouse TeacherWow, you all made some fantastic entries! This was the toughest decision yet. I really do mean that, too. I went back and forth a few times and had to scrutinize a lot of code.
In the end, Charlie Hield won overall. His Dribbble gallery has some really wonderful code and a simple, beautiful layout. Here's why Charlie had the best entry:
- The HTML is well structured and semantic.
- The SCSS is pretty clean and uses some fairly advanced properties, including nth-child selectors, transitions, zoom-in cursors, and more.
- The border-box sizing on all elements is a newer idea that's been gaining a lot of traction. Cool to see it used in the wild.
- The fixed position vertical and horizontal centering for the lightbox is a very smart choice.
- The use of the Dribbble API to pull in shots is great, and the jQuery overall is well done.
Congratulations, Charlie! This is a really great entry. :)
Jacob Roman
22,640 PointsGrats Charlie Hield!!
Charlie Hield
4,767 PointsWoot! Thanks Nick, it was a fun one to work on.
Nick Pettit
Treehouse TeacherGreat work! I just sent you an email with prize details. :)
Matthew Mascioni
20,444 PointsCongrats, Charlie Hield! Great work, and awesome job to everyone who participated :)
Nick Pettit
Treehouse TeacherOne more thing! This week's new contest is now available and it's all about CSS animation.