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

General Discussion

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Forum Contest: Progress Bars

EDIT: This contest has ended! Congratulations to Jim Mayle for his winning entry! Our next contest is all about creating a CSS character.

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 progress bar 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 March 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 March 3rd and reveal the next contest.

60 Answers

Awesome contest, been waiting for one like this :D

Going to start my entry!

HTML5 is allowed?

Nick Pettit
Nick Pettit
Treehouse Teacher

Of course, why wouldn't it be? Modern HTML is HTML5. :)

So... Mine was inspired by the old platform game Metal Slug. Change the value of the progress bar to escape the carnage!

P.S Unfortunately, it only works in Chrome... sigh..

Lol! awesome!

thats so cool!

I like it! Do you mind if I tweak this one a little bit?

Hey Diego - not sure if it's just me, but the animation doesn't run on that one? I'm going to have a re-tweak myself anyway. I came up with some fresh ideas overnight

Well Gee. It works in Chrome. Thanks for the heads up Sam May .

I really need to work on my cross-browser support.

Hey Diego -

I'm really hyped that my entry has inspired you and all, and i'm glad to see you're learning more about prefixes by playing with it, but you've pretty much hijacked my idea. No offence, and I really am flattered you like it, but it's hard for me to get excited about learning more and improving it when you've already beaten me to the punch on my own idea..

Just saying...

I understand. I shouldn't have done that at all. It really was your idea, and taking your idea and running off with it was not within the scope of this forum contest that emphasized originality.

I'm sorry.

Please accept this post as an apology.

Also. with the help of Chelsey on the treehouse staff, I have removed the comments with the links included.

No worries Diego, I appreciate your understanding - and I'm not trying to stem your learning or anything, I'm just really hyped to do this one by myself - why don't you try something similar? It could be in the same vein, like perhaps a sonic the hedgehog style bar? Any thing that involves a retro platform game would work! (Mario, Sonic, etc).

Can i ask if there is any progress bar tutorials on treehouse at the moment?

Nick Pettit
Nick Pettit
Treehouse Teacher

We don't have any tutorials about progress bars specifically, but you should be able to figure out how to make one by combining HTML and CSS lessons.

Any one training or video in particular?

Walter Aucaylle the best videos to watch would be two full modules in the CSS Foundations Deep Dive: 1. Transitions and Transforms 2. CSS Animations

There are no outright tutorials on making a progress bar, but all the tools that can be used are explained in those two full modules. It's about 1 hour 40 minutes of video, a little longer for the quizzes and knowledge tests (maybe 2 hours to 2 hours and 15 minutes).

As for games, Pacman can be progress bar too! It's my first own project =)

Doesn't seem to be working, tried it in chrome. Just this minute finished learning animations in CSS on treehouse so been looking at your code, can work it out; looks cool mate.

Fixed — forgot about vendor prefixes.

Nice, i like it.

Very fun.

I'm kinda curious, (a) can moderators participate and (b) can it be for a fundraising effort I am working on (in other words, to animate progress in getting the funds)?

Do Moderators work for TeamTreeHouse or are you just helpful in the Forums?

Tyre Pickett - Modertators are just Treehouse members that are helpful on the forum.

Here is my try of it Click Here.

I like it, well done.

Thanks. I have been working with progress bars for a while now so it was easy to come up with that one.

Dude you're not going to learn anything if you keep taking shortcuts, and using other people's work in these forum contests. It would be awesome to see you redo this, without copying from a tutorial so that you learn how to make something on your own, and make it unique. I understand wanting to just submit something to see if you can win, but this isn't the lottery where you can win by just buying a ticket. You won't win anything, and you certainly won't learn anything that way. Make it your own, instead of copying off of this http://cssdeck.com/labs/animated-progress-bar-2

Nick Pettit
Nick Pettit
Treehouse Teacher

I would like to echo Robert's sentiments. Originality is a key factor for winning entries. While I understand that "original" is a relative term, obvious copies will not be considered.

If you'd like to submit another entry that represents your own design and coding, we're happy to consider it. These contests are designed to help everyone in the Treehouse community learn how to exercise their creative thinking skills.

Thanks. I have been working with progress bars for a while now so it was easy to come up with that one.

very nice

very nice

Thanks

Sorry the page isn't very elaborate, but I wanted to get this entry in. I hope you like my progress bar. This is my first contest and I would consider myself still a newbie. Good luck to everyone!

Not sure if I'll be able to enter this one, but would like to if I can make the time, are there are rules regarding cross browser compatibility (at work we still regularly need to support IE8).

I've just finished my entry! There it is: http://codepen.io/robertoej/full/JoCiL. First contest, take it easy! :) Good luck everyone!

Hey Roberto, nice entry but I noticed that you're progress bar loads past 100% ;)

What a shame. Thanks a lot for letting me know, James. I've fixed the bug. :)

Here is my entry: http://cdpn.io/cxjto

I decided to do another entry as well. check it out. Came up with the idea on the way to work.

I look forward to any feedback. I am still a newbie and want to become a proficient developer.

Already seeing some issues, which I believe has to do with my use of absolute positioning and also center my div.

I like this one a lot. Good job!

Here are My Progress Bars: http://codepen.io/nandinigoel/pen/dqFLy Regards Nandini

Thats Dope! for a second i was like when is it going to load had a slow moment :)

I like the original ideas for these progress bars. The top loading bar is mesmerizing.

Updates made.

I like this contest! One more progress bar: thermometer. Used actual progress element.

You did a really good job and I like the idea with the thermometer. Excellent submission!

I like this one also. Points for originality. :)

I like the submissions so far.. I'm going to shoot one in as soon as I can get to my computer. Good luck everyone!

I have the animation going in a direction I like. Need to add the progress element... (the hard part for me). http://codepen.io/ampedpixel/pen/xbcei I used this to generate a starting point. http://cssload.net/en/ and then hacked it a bit. Is this cheating?

Very cool loading animation.

Thanks Calvin! I hope I can make it work... then it will be cool!

Great! I love it.

Cute!!!

Call me Hacky McHackerson. Code is not pretty. Added the progress element to display percentage loaded. Was hoping to have the throbbing frog phalanges stop at 100%. Couldn't make it happen. :( Love being part of this Treehouse community! There are some extremely bright and supportive people here. Awesome work everyone! http://codepen.io/ampedpixel/full/xbcei

Here is my first entry: Codepen

I used this as a starting point CSS Load, like Jim Mayle .

This is my first so far, I hope to have a few more in the next few hours. :)

Creative, it lets you know that something is happening.

here is my try Progress Bar

nice.

Nice, but don't work in Firefox. But you can fix it: progress::-webkit-progress-value is the same as progress::-moz-progress-bar and progress::-webkit-progress-bar styles can be written simply in progress selector.

thanks Yuliya Bagriy , I will add FireFox support.

Well, Here's my shot at this. DBZ fans will enjoy this.

Progress Bar

Hahaha I love this.

Good memories.

You were right, we loved it ;)

Here's my progress bar Good Luck everyone :)

Enara, both of your bar were nice. I kind of prefer the top one though, if asked to pick.

I wrote this one a while back

http://codepen.io/jamesbarnett/pen/ybvLB

Nice. I did the obvious quick test; added boxes to see if it worked perfectly. And it did.

Here's my pure HTML5 and CSS3 approach.

Well, I updated my entry since the first iteration I knocked out very quickly at the start of the challenge. I decided to learn jQuery, seeing as I couldn't target the 'value' attribute of the progress element (Is this possible yet?). In using the progress element, I did sacrifice firefox compatibility, however I'm really happy with the result in chrome!

Here you go - escape the carnage of the loading bar!

Nice!!

Great job, Sam! It's really amazing!

Nice work everyone.

Here's mine. This is my first attempt at writing jQuery plugins. It basically adds progress bars below buttons. Just adding these should make a totally working "progress button": <button class="miniProgress" type="button">Another Button</button>

Dude that is awesome

Very good! But you have some mistakes with -moz- (check my comment to Davit Khaburdzania).

Thanks, I will correct that.

Mine entry dost abide here - animation only works in webkit, though :\

@Ben Anderson -

Why not? Seems like radial gradients & keyframe animations are supported in other browsers.

http://css3clickchart.com/#radial-gradient http://css3clickchart.com/#keyframe-animations

Thanks for the tip, James - should be rockin now!

In Firefox 27 & IE 11 the animation works, but it's glitchy.

Ben Anderson - Seems like your pen got noticed over on codepen, it's currently featured in the picks section of the codepen.io.

Imgur

That is so cool! Yeah that was my first go. Can be viewed here. Thanks for finding this, James! I guess either version can count as a submission from me :)

I've also created a very basic one in CSS3/HTML only. http://cdpn.io/Dpldf

Very pleasant design. Not overwhelming to the eyes.

Thanks Lawrence

Kennard McGill
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Kennard McGill
Full Stack JavaScript Techdegree Graduate 45,774 Points

Here is my entry http://cdpn.io/iDsAt

This was a very rewarding challenge. I'd like to try and submit another one just using the progress element. I don't think there's a limit to how many you can submit.

Sweet submission. I really like how the loading changes to loaded when the progress bar completes. Of course the Tree House logo is a nice touch as well. I learned some new things reading your code. Thanks!

I just got another idea and then I decided to shot one more. There it goes: http://codepen.io/robertoej/full/tgqzB.

Wow, nice. Pretty cool.

Thanks, Pedro!

Very Cool. I love it.

Thanks, Diego!

This is so freaking cool

Here's my entry: code, demo. Any feedback is much appreciated :)

Ingenious, James! The only this is you are using an initial background for the div cherry (#b43210), and when we load the page we can see it (the div starts in the left edge of the screen). I would suggest you to use 'transparent' instead, once after an instant the background image is loaded and it doesn't show up anymore. Congratulations for the entry!

Great idea!

Thanks for the feedback guys. Roberto, thanks a lot for the tip was trying to work out how to fix that! :)

Great entries!

Here's my entry: http://codepen.io/Kristina_doukou/pen/FobJg good luck to all

Wow. that was beautiful.

Thank you Diego!!!!!

Hi there!

Just saw this contest and decided to create something funny for it. Here is my entry: http://codepen.io/frenski/full/BaLtx

Great job man looks awesome :)

WOW!

I had fun playing with CSS, here is mine: http://codepen.io/sylvie/full/ELHFa

Some killer entries I have seen! Well this is my take at it!

http://codepen.io/adhithyarkumar/full/ackiv

Looks great, I really like the gradients you've used on the circles, gives them a sort of 3D effect. Only thing I would do differently is get rid of the 'starting', 'loading', 'finished' labels, I think the bar on its own is enough of an indicator of where its up to... Just a thought.

Nicely done anyway :)

Thanks James. I agree on your thought about the status indicator. Added it for extra effects :)

Here's mine: http://codepen.io/iZOE/pen/klufE

It's build on erb and scss/compass.

Codes are hosted on https://github.com/iZOE/zipper

Hope you like it :)

Wow that's so neat and simple. Really enjoyed it.

Very impressive, awesome job!

This is the best entry so far! Amazing work!

THANKS for your like it. :P

thank you for liking mine

This one was my first idea, but I had no idea how to create bucket out of progress element. For now works only in webkit, can't find alternative to *.webkitAnimationPlayState.

Though I've only been with Tree House a month, this contest has been a very positive experience. The creativity that has been displayed here is incredible. Everyone from newbies like myself to those of you more experienced, should be proud of your entries! Because of my inexperience I almost didn't submit an entry, but am glad I did. By following the contest throughout the week and reviewing your entries, I have learned a lot and thank all of you!

Larry

Progress bar made in HTML and CSS http://cdpn.io/ajkoL

Here is my attempt at this challenge: http://codepen.io/anon/pen/gLtwx

Here is my entry. (http://codepen.io/bwgoad/full/ACGgb) It only works in webkit browsers, due to the ::before and ::after pseudo-elements on the progress-bar and progress-value pseudo-elements only working in webkit.

Hi, Here's my entry using the progress bar element. http://codepen.io/msmurthy/pen/jdtIK I am just finishing up the lessons on CSS transitions and animations. This contest came at the right time for me :) Sorry, It works only in chrome. Had a lot of issues when I tried to make it work in firefox and opera. Still trying to wrap my head around all the code involved with achieving cross bowser compatibility.

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hi everyone,

Well, as usual, you all did an amazing job! We're blown away by the number of high quality entries these contests have been receiving lately. It's so fun to go through each of your entries and see all the cool things you've put together. You should feel good about the experience you've gained by getting more practice with design and coding.

This week Jim Mayle has won. Congrats, Jim!

His Treehouse loading animation is interesting for both its design and its code. It uses the HTML5 progress element, it's compact enough that it can work in a large variety of contexts without need for breakpoints, and it also makes clever use of brand imagery to create a subtle animation. I've been looking at the Treehouse logo for a long time, and I don't think any of us thought to use it in this way; pretty clever. Jim also used some code as a starting point, but he modified it for his own purposes and created something original out of it. This is totally OK as long as you don't make an exact clone of something else. "Hacking" like this is part of making websites and Jim saved himself a lot of time by being resourceful, then applying his own originality on top.

Thank you everyone!!!! Feeling blessed to be a part of this creative community. :)

Great job, Jim! Congratulations!

Congrats Jim Mayle ! Good job!

Congrats Jim Mayle This is amazing work....

Congratulations Jim Mayle your entry was a really good piece!

Congrats Jim...excellent entry!!!

Congrats Jim Mayle!

Congrats dude. Looks sweet. Glad to be a part of this community that has so much talent.

That was really good, Jim Mayle! Congratulations!