Skip to content

Commit

Permalink
added all students
Browse files Browse the repository at this point in the history
  • Loading branch information
dmk14013 committed Apr 24, 2018
1 parent 590af43 commit e6678f6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
</head>
<body>


<!--1fd73c6345e449ee8f8b0febc33cf300-->

<div id="password" class="">
<div id="password" class="hidden">
<smile-to-unlock-hider></smile-to-unlock-hider>
<smile-to-unlock api-key="1fd73c6345e449ee8f8b0febc33cf300"></smile-to-unlock>
<smile-to-unlock api-key="cccbaa84b9b4408cb88b235d70d7ee0a"></smile-to-unlock>
<!-- some webcam video link -->
<!--<h1>How 'bout a smile?</h1>
<p>Smile for the camera to enter the page</p>-->

</div>


<div id="tupperware" class="hidden">
<div id="tupperware" class="">



Expand Down Expand Up @@ -68,6 +68,7 @@ <h3>Add a student</h3>
// This event is sent when the user has smiled
locker.addEventListener("userSmiled", function (ev) {
console.log(ev.detail.score);

document.querySelector('#password').classList.add('hidden');
document.querySelector('#tupperware').classList.remove('hidden');

Expand Down
11 changes: 8 additions & 3 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@ document.addEventListener("DOMContentLoaded", function() {


var david = new Student('David Kerr', 'Dork', 'david.m.kerr@uconn.edu', 'I\'m a DMD student at UConn working on a concentration in web design. I like sci-fi robots and spaceships, and enjoy building models of them.', 'https://vignette.wikia.nocookie.net/gundam/images/5/5e/Gundam_Exia_LOL.jpg/revision/latest?cb=20101019165531');
var emilyR = new Student('Emily Ruffell', 'Can you read for the class?', 'reviveVine@vine4ever.com', 'What up, I\'m Emily, I\'m twenty-three and I never fucking learned how to read.', 'https://files.slack.com/files-pri/T040V7VBL-FA9KYBBL4/emilyr.png')
var max = new Student('Max Nonken', 'Adventure Seeker', 'max.nonken@uconn.edu', 'I’m just trying to live everyday to the fullest.', 'https://files.slack.com/files-pri/T040V7VBL-FA9TQ4PQA/max.jpg')
var rachel = new Student('Rachel Sarnie', 'Designer', 'rachel.sarnie@uconn.edu', ' I write with my left hand, but do everything else with my right. I’m a fake-lefty.', 'https://icenter.uconn.edu/wp-content/uploads/sites/168/2017/12/Rachel-Rachel-Sarnie-768x768.jpg')
var emilyR = new Student('Emily Ruffell', 'Can you read for the class?', 'reviveVine@vine4ever.com', 'What up, I\'m Emily, I\'m twenty-three and I never fucking learned how to read.', 'https://files.slack.com/files-pri/T040V7VBL-FA9KYBBL4/emilyr.png');
var max = new Student('Max Nonken', 'Adventure Seeker', 'max.nonken@uconn.edu', 'I’m just trying to live everyday to the fullest.', 'https://files.slack.com/files-pri/T040V7VBL-FA9TQ4PQA/max.jpg');
var rachel = new Student('Rachel Sarnie', 'Designer', 'rachel.sarnie@uconn.edu', ' I write with my left hand, but do everything else with my right. I’m a fake-lefty.', 'https://icenter.uconn.edu/wp-content/uploads/sites/168/2017/12/Rachel-Rachel-Sarnie-768x768.jpg');
var amanda = new Student('Amanda Brickner', 'Crazy Cat Lady', 'amandausr@aol.com', 'Something something not since the accident', 'https://files.slack.com/files-pri/T040V7VBL-FACGH05DK/jpeg_20170905_214850.jpg');
var daniel = new Student('Daniel Bean', 'Designer', 'danny@collectivema.com', 'Hi I get really scared easily so pls don\'t talk to me', 'https://files.slack.com/files-pri/T040V7VBL-FAC5PD5HS/img_1680.jpg');
var emilyM = new Student('Emily McAndrew', 'Student', 'emily.mcandrew@uconn.edu', '21 year old vegan who plans to live in New York City after graduation', 'https://files.slack.com/files-pri/T040V7VBL-FAD9CJGA2/0.jpg');


classList = ['Amanda Brickner', 'Daniel Bean', 'David Kerr', 'Emily McAndrew', 'Max Nonken', 'Rachel Sarnie', 'Emily Ruffell'];


Expand Down

0 comments on commit e6678f6

Please sign in to comment.