Dear @antonia_viola
Ok im back, i see what your doing now with the code, however what do you wish to achieve again, sorry i dont understand.
When i hover over a title i get an image in the background, you need this to be fullscreen? or something else im missing? :)
Script:
//get project element
const project5 = document.getElementById('project-5');
//set url of the background image
const imageProject5 = 'https://antoniaviola.com/wp-content/uploads/2020/12/website81.jpg';
//add listeners for image
try{
window.addHoverBackgroundImage(project5, imageProject5);
}catch(e){
console.log("Add hover bg img not found :(");
}
Best
Richard