Step 51 - Learn Basic Javascript By Building A Role PLaying Game

i am trying to create a variable called locations with an empty array and wondering what i am missing here

const locations = document.querySelector(“#locations”);

const locations = document.querySelector("#locations");

Remove this query selector, You just need an empty arry . Empty arry [ ]
@up695407

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.