Skip to content

Instantly share code, notes, and snippets.

@mkhuda
Created May 12, 2013 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkhuda/9e72e19f366dc185e7a7 to your computer and use it in GitHub Desktop.
Save mkhuda/9e72e19f366dc185e7a7 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Kuis Phonegap</title>
<script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
<link rel="stylesheet" type="text/css" href="css/jQuizMe.css"/>
</head>
<body>
<div id="quizArea"/>
</body>
<script type="text/javascript" src = "js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/jQuizMe-2.2.1.js"></script>
<script type="text/javascript">
$( function($){
var quiz = {
multiList: [
{
ques: "Bahasa pemrograman apa yang didukung Phonegap",
ans: "HTML, CSS, Javascript",
ansSel: ["PHP, ASP, MySQL", "Ruby on Rails"]
},
{
ques: "Apakah Phonegap dapat digunakan untuk membuat aplikasi Blackberry?",
ans: "Iya",
ansSel: ["tidak"]
},
{
ques: "Platform apa saja yang didukung",
ans: "Android, iOS, Windows Phone, Blackberry",
ansSel: ["Windows 7, Windows ME,", "Linux, Chrome App, Firefox Add-ons"]
}
],
},
options = {
help: "<center>Silahkan jawab pertanyaan-pertanyaan yang ada</center>",
intro: "Kuis Phonegap<br>Info tutorial lebih lanjut, Anda bisa belajar di <a href='http://mkhuda.com/'>Mkhuda.com</a>",
allRandom: true,
title: "Basic Phonegap"
};
$("#quizArea").jQuizMe(quiz, options);
});
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment