Interactive-Design-and-Technology / interactive-learning

Generate Interactive Learning Activities for your LMS using JavaScript.
https://interactive-design-and-technology.github.io/interactive-learning/
0 stars 2 forks source link

Quick Quiz #43

Open FeXd opened 1 year ago

FeXd commented 1 year ago

Saw a "quick quiz" example in another course. Consider integrating. Below is the code example:

<script type="text/javascript">
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
</script>

<p>1. Social media&nbsp;refers to online platforms, websites, and mobile applications&nbsp;that enable users to create, share, and interact with content, ideas, and information with other users.&nbsp;</p>
<p><input name="radio" id="radio" value="radio" type="radio" onclick="MM_popupMsg('Correct.')"> True<br><input name="radio" id="radio2" value="radio" type="radio" onclick="MM_popupMsg('Try again.')"> False</p>