Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3403


This forum is provided to promote discussion amongst students enrolled in Agile Web Development (CITS3403).
 
Options:
RSS cloud
Jump to:

About AJAX

1 of 419 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS
Date: Wed 1st Apr 2020, 1:06pm
Actions: 
        Login-to-reply

 

Hi
I followed the workshop of the AJAX and tried to collect the data by using the COV-19 
API website which provided in the project 1. I modified the codes from the workshop 

"
let locations = data.locations; 
return lacations.map(
            function(location) {
                 ......
            span.innerHTML = '${location.country}';
                    }
             ......
)
"

It didn't come out to give me the country names but just showed many 
"${location.country}". Is there something wrong in my codes?
Thanks.

Related articles

About AJAX (all 3) RSS
├─ THIS   Wed 1st Apr 2020, 1:06pm, ANONYMOUS
├─ reply 1   Wed 1st Apr 2020, 5:55pm, Haolin W.
└─ reply 2   Wed 1st Apr 2020, 8:37pm, ANONYMOUS  O.P.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  9:57am Nov 18 2020