We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70c015e commit 474a132Copy full SHA for 474a132
frontend/assets/js/request.js
@@ -0,0 +1,13 @@
1
+function showQuestion(str) {
2
+ var xmlhttp;
3
+ xmlhttp = new XMLHttpRequest();
4
+ xmlhttp.onreadystatechange = function() {
5
+ if (this.readyState == 4 && this.status == 200) {
6
+ document.getElementById("txtHint").innerHTML =
7
+ this.responseText;
8
+ }
9
+ };
10
+ xmlhttp.open("GET", "https://coding101-e7ef0.firebaseapp.com/#/questions", true);
11
+ xmlhttp.send();
12
13
+
0 commit comments