forked from robflaherty/quiz-generator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.html
19 lines (14 loc) · 2.24 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- <link href="source/stylesheets/quiz.css" rel="stylesheet" /> -->
<link href="source/stylesheets/flowchart.css" rel="stylesheet">
</head>
<body>
<script src="source/javascripts/jquery.min.js"></script>
<script src="source/javascripts/quiz.js"></script>
<script src="source/javascripts/flowchart.js"></script>
<div class='quiz-container'></div><script type='text/javascript'>window.jQuery || document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"><\/script>');</script><script type='text/javascript'>var input = [{"slug":"Start","text":"Are you eating something?","connectsto":"utensil, notsandwich","connectstext":"Yes, No","image":"https://i.redd.it/akg55a2fna3y.png","rowNumber":1},{"slug":"utensil","text":"Are you using utensils?","connectsto":"openfaced,sandwich","connectstext":"Yes, No","image":"https://i.imgur.com/ySvyu7T.jpg","rowNumber":2},{"slug":"openfaced","text":"Is it an open-faced sandwich?","connectsto":"eatsandwich,notsandwich","connectstext":"Yes, No","image":"https://i.imgur.com/CxV3Ex6.jpg","rowNumber":3},{"slug":"sandwich","text":"Is it a sandwich?","connectsto":"eatsandwich,others","connectstext":"Yes, No","image":"","rowNumber":4},{"slug":"eatsandwich","text":"You are eating a sandwich.","connectsto":"End","connectstext":"The End","image":"","rowNumber":5},{"slug":"probs","text":"You are probably eating a sandwich.","connectsto":"End","connectstext":"The End","image":"","rowNumber":6},{"slug":"others","text":"Is it a......","connectsto":"law, law, law, law, law, law, law","connectstext":"Hamburger, Burrito, Wrap, Gyro, Pita, Melt, Hotdog","image":"","rowNumber":7},{"slug":"law","text":"According to the New York State Department of Taxation and Finance, you are eating a sandwich.","connectsto":"End","connectstext":"The End","image":"https://i.reddituploads.com/5c79e5302d3b40428558bdb1c7ad2e28?fit=max&h=1536&w=1536&s=ad63ca4b5d8bf37c2112fd4443a5431b","rowNumber":8},{"slug":"notsandwich","text":"You are not eating a sandwich.","connectsto":"End","connectstext":"The End","image":"","rowNumber":9},{"slug":"End","text":"","connectsto":"","connectstext":"","image":"","rowNumber":10}]; $(function(){ QuizGenerator_flowchart() }); </script>
</body>
</html>