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

Should I continue?

Do you love palindromic numbers or blackjack?

Either way - just realized I hit 10101 points. Can I audit any further courses? I don't want to upset the balance.

Here is my Treehouse.

Lol

2 Answers

Steven Parker
Steven Parker
242,770 Points

Too late, you're already at 10113. Besides, you don't want to miss out on the chance to achieve 11111 points, right? or 12321? or 15551? How about 22222? :)

Cute page, by the way. Love the color animations. It's a bit loooong, tho.

P.S. I just noticed .. my own score when I posted that was 17971 !!

17971 ... sweet.

You convinced me ...

$color-box: (
  1:  #FFE629,
  2:  #18A6D1,
  3:  #CCC205,
  4:  #54D3D3,
  5:  #9776C1,
  6:  #ED4545,
  7:  #FF9100,
  8:  #65B730,
  9:  #FF6136,
  10: #AD7745,
  11: #FF71A0
);
// Loop for the Title
@for $i from 0 through 11 {
  .title-letter-#{$i} {
    animation: title_animation_#{$i} 5s linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    font-size: 28px;
    @include media(480px){
      font-size: 42px;
    }
  }
  @include keyframes(title_animation_#{$i}){
    0% {color: map-get($color-box, $i);}
    @for $x from 1 through 11{
      @if (100/11)*$x < 92 {
        #{(100/11)*$x}% { color: map-get($color-box, random(11)-1); }
      } @else {
        100% {color: map-get($color-box, random(11)-1);}
      }
    }
  }
}

// Loop for the loading box
@for $i from 1 through 100 {
  .box-#{$i} {
    animation: color_change_#{$i} 5s linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    height: 10px;
    width: 10px;
    float: left;
  }
  @include keyframes(color_change_#{$i}) {
    0% {background-color: map-get($color-box, $i);}
    @for $x from 1 through 11{
      @if (100/11)*$x < 92 {
        #{(100/11)*$x}% { background-color: map-get($color-box, random(11)-1); }
      } @else {
        100% {background-color: map-get($color-box, random(11)-1);}
      }
    }
  }
}

+1 for moving on. While I, too, love me some good palindromes, rest easily knowing there's an infinite amount more you can reach ahead of you :) Keep up the hard work!