
Alberto Castro Flores
PreguntaMe sale ese error, a que se debe?
home.js:119 Uncaught (in promise) TypeError: Cannot read property 'append' of null at home.js:119 at Array.forEach (<anonymous>) at load (home.js:115) (anonymous) @ home.js:119 load @ home.js:115 async function (async) load @ home.js:81 (anonymous) @ home.js:149```
const $actionContainer = document.querySelector(‘action’);
actionList.data.movies.forEach((movie) => {
const HTMLString = videoItemTemplate(movie);
const html = document.implementation.createHTMLDocument();
html.body.innerHTML = HTMLString;
$actionContainer.append(html.body.children[0]);
console.log(HTMLString);
})```

Alberto Castro Flores
Encontre el problema, esta linea no tenia el # en action:
const $actionContainer = document.querySelector('#action');```