Open saroshkhann opened 2 months ago
on chaining promises the neighbour country does not want to appear saying TypeError: Cannot read properties of undefined reading png... i dont know why is that.help please...
on chaining promises the neighbour country does not want to appear saying TypeError: Cannot read properties of undefined reading png... i dont know why is that.help please...
At line 79 change the code like this:
.then(data=> renderCountry(data[0], "neighbour"));
on chaining promises the neighbour country does not want to appear saying TypeError: Cannot read properties of undefined reading png... i dont know why is that.help please...
At line 79 change the code like this:
.then(data=> renderCountry(data[0], "neighbour"));
thanks it worked βΊ
on chaining promises the neighbour country does not want to appear saying TypeError: Cannot read properties of undefined reading png... i dont know why is that.help please...
At line 79 change the code like this:
.then(data=> renderCountry(data[0], "neighbour"));
thanks it worked βΊ
Always Welcome, Follow me to stay in touch π
////// Instead of writing this code
///// Write this code
//////////// Also destructure data2 in request2 event handler
const [data2] = JSON.parse(this.responseText);