This commit is contained in:
AndrewTrieu
2023-03-12 16:21:18 +02:00
parent d6d09df845
commit b3065cfce1
10 changed files with 30 additions and 27 deletions

View File

@@ -4,12 +4,13 @@
<h2>Correct answer:</h2>
<% if (it.data && it.data.length > 0) { %>
<ul>
<% it.data.forEach(item => { %>
<%= item %>
<li><%= item.option_text %></li>
<% }); %>
<ul>
<% } else { %>
<p>Correct options are not found.</p>
<% } %>
<a href="/quiz/<%= it.tid %>">Next question</a>
<a href="/quiz/<%= it.tId %>">Next question</a>