add randomization to team
parent
6b7ca4fe70
commit
31e310ed85
|
@ -5,6 +5,15 @@
|
|||
.col-xs-12
|
||||
h2.text-center Our team
|
||||
.fifteen-pixel-break
|
||||
script.
|
||||
$(function () {
|
||||
var parent = $("#shuffle");
|
||||
var divs = parent.children();
|
||||
while (divs.length) {
|
||||
parent.append(divs.splice(Math.floor(Math.random() * divs.length), 1)[0]);
|
||||
}
|
||||
});
|
||||
#shuffle
|
||||
.col-xs-12.col-sm-4.col-md-3.team-member
|
||||
h3.negative-10.text-nowrap Nique Devereaux
|
||||
h4.negative-10.text-nowrap Alliance Builder
|
||||
|
@ -73,7 +82,7 @@
|
|||
p.negative-10 "Active duty US Army. I'm on the bomb squad. No joke. I learned to code for the games, and stayed for the algorithms."
|
||||
.col-xs-12.col-sm-4.col-md-3.team-member
|
||||
h3.negative-10.text-nowrap Jason Rueckert
|
||||
h4.negative-10.text-nowrap Product Manager
|
||||
h4.negative-10.text-nowrap Live Content Manager
|
||||
img.profile-image(src='https://s3.amazonaws.com/freecodecamp/jason-rueckert.jpg' alt="Jason Rueckert's picture")
|
||||
h4.text-nowrap Seattle, Washington
|
||||
p.negative-10 "My high school job was testing basketball shoes for Nike. I learned code to work smarter, not harder. I have no thyroid."
|
||||
|
|
Loading…
Reference in New Issue