diff --git a/src/pages/IDE.vue b/src/pages/IDE.vue index 1907ef2..4f465c7 100644 --- a/src/pages/IDE.vue +++ b/src/pages/IDE.vue @@ -142,6 +142,7 @@ export default { }, validPython() { document.getElementById("brythonButton").click(); + console.log(this.solutions+" "+document.getElementById("resultsToValidate").innerHTML); if(document.getElementById("resultsToValidate").innerHTML == this.solutions+"") { document.getElementById("resultsToValidate").innerHTML = "Your answer is correct!" diff --git a/src/pages/Playground.vue b/src/pages/Playground.vue index 105831a..d47c317 100644 --- a/src/pages/Playground.vue +++ b/src/pages/Playground.vue @@ -32,6 +32,8 @@ :options="cmOption" :events="['inputRead', 'change']" > +
+return
output;
}
$> {{ log }}+ -