Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavBarthwal committed Feb 14, 2024
1 parent 0ba9a76 commit 9586b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ particlesJS("bg", {
displayData(data.url, data.explanation, data.title, data.date, data.copyright )

})
.catch((error) => console.log(error))
.catch((error) => console.error(error))


//function to display data in apod section
Expand Down Expand Up @@ -170,7 +170,7 @@ function displayRover(){
updateDom(img_src, date, roverName, camera, launch, land, status)

})
.catch((error) => console.log(error))
.catch((error) => console.error(error))
}

function updateDom(img_src, date, roverName, camera, launch, land, status){
Expand Down

0 comments on commit 9586b11

Please sign in to comment.