Skip to content

Commit

Permalink
https://github.com/elmsln/issues/issues/1326
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed May 16, 2024
1 parent 765c3af commit 6775c9e
Show file tree
Hide file tree
Showing 9 changed files with 364 additions and 582 deletions.
30 changes: 28 additions & 2 deletions elements/mark-the-words/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,34 @@
<h3>Basic mark-the-words demo</h3>
<demo-snippet>
<template>
<mark-the-words answers="this,is">
This is mark-the-words
<mark-the-words question="Mark the fruits but not the berries" statement="Apples mostly come from up north where we have cold weather. Pears and Raspberries are more southern.">
<input correct value="Apples" />
<input correct value="Pears" />
<input value="Raspberries" />
<div slot="feedbackIncorrect">
<p>Remember... focus... you've got this. It's not always easy getting to class but I believe in you!</p>
</div>
<div slot="feedbackCorrect">
<p>You are master of the universe! Congrats on knowing when to wake up and go to class!</p>
</div>
<div slot="content">
<p>Think back on last evening. You fell asleep. Well, here are some other tips to get there faster potentially. Here's a video about the importance of sleep. Watch this to gain perspective about the question.
</p>
<video-player source="https://www.youtube.com/watch?v=t0kACis_dJE"></video-player>
</div>
<div slot="hint">You generally wake up before you fall asleep so..
<ul>
<li>You had to do something prior to waking up... what... could it be the night before</li>
<li>Then, hopefully if you are on campus, you are.... doing something hygenic prior to...</li>
<li>The after whatever it is you did.. you would assume it is late and...</li>
</ul>
</div>
<div slot="evidence">
<p>In chapter 4, we talked about the importance of sleep. Later on, you were asked to reflect on your day and the
times in your life when you were given enough rest and how that affected class. Hopefully you learned at a young age
to brush your teeth. Waking up and going to bed always end the progression.
</p>
</div>
</mark-the-words>
</template>
</demo-snippet>
Expand Down
15 changes: 1 addition & 14 deletions elements/mark-the-words/lib/mark-the-words.haxProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,15 @@
"title": "Question",
"description": "Prompting for the user to answer the question",
"inputMethod": "textfield"
},
{
"property": "answers",
"title": "Answers",
"description": "comma separated possible answers",
"inputMethod": "textfield"
},
{
"slot": "",
"title": "Contents"
}
],
"advanced": []
},
"saveOptions": {
"unsetAttributes": [
"correctAnswers",
"wordList",
"isEnabled",
"numberCorrect",
"numberGuessed",
"demoMode"
"numberGuessed"
]
},
"demoSchema": [
Expand Down
Loading

0 comments on commit 6775c9e

Please sign in to comment.