我正在使用 SlickQuiz 运行测验,我正在修改 .js 文件,而不是通过文本显示问题,我想调用图像。这里是代码:
{
"q": "This is the question area where I'd prefer to call an image?",
"a": [
{"option": "Answer 1", "correct": false},
{"option": "Answer 2", "correct": true},
{"option": "Answer 3", "correct": false}// no comma here
],
"correct": "<p><span>Well done!</span> The correct answer is Answer 2.</p>",
"incorrect": "<p><span>Incorrect</span> The correct answer is Answer 2.</p>" // no comma here
}
所以“q”行是我要调用图像的地方。有人有什么想法吗?谢谢