Skip to content

Instantly share code, notes, and snippets.

@enterpredator
Created April 29, 2018 12:08
Show Gist options
  • Save enterpredator/345c67b69183688961f496b3853cf9bd to your computer and use it in GitHub Desktop.
Save enterpredator/345c67b69183688961f496b3853cf9bd to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="http://270927.selcdn.com/inwine-static/widget/inwine.widget.lib.js"></script>
<script>
$(document).ready(function() {
$('#inwine_widget').inwineQuiz(onComplete)
});
function onComplete(quizResult) {
console.log(JSON.stringify(quizResult));
}
</script>
</head>
<body style="background-color: #eaeaea;">
<div id="inwine_widget"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment