implemented scores
This commit is contained in:
@@ -20,6 +20,7 @@ function deal_with_answer(e) {
|
||||
"answer": $("#answer").val(),
|
||||
};
|
||||
$.post("/api/v0/attempt/", data, function(d) {
|
||||
$("#score").text(d["Score"]);
|
||||
if(d["Status"]) {
|
||||
$("body").removeClass("wrong");
|
||||
new_problem();
|
||||
|
||||
Reference in New Issue
Block a user