Skip to content

Instantly share code, notes, and snippets.

Avatar

Catherine Maldonado catherinemaldonado

View GitHub Profile
View clip3.vtt
WEBVTT
1
00:00:00.000 --> 00:00:04.000
Wow, a sweater.
2
00:00:05.000 --> 00:00:08.000
A very tiny sweater. With four arms.
View quiz-snippet.js
if (personality === true){
// TALLY SUBMITTED ANSWERS FOR EACH CHARACTER FOR PERSONALITY QUIZ
$("input:radio").each( function() {
if($(this).prop("checked") === true) {
val = $(this).attr("class");
// INCREASE PERSONALITYCOUNT FOR SELECTIONS
for (var i = 0; i < personalityOptions.length; i++) {
if (personalityOptions[i] === val){