How to apply createElement method to image search results?

I am a beginner and I am using several tutorials to create a project. I am using the unsplash api to display images.

I have implemented a search input which displays images, however, I want to include cardBody, saveText, link, and card (the save icon function) to the search image results in order to add the search image results to local storage.

For example, when using the search function to search for particular images, the icon save favourite is unavailable.

How do I include it and is using the same createElement method to apply to the search image results correct?

https://jsfiddle.net/gkcj5o8n/

//Search Images
document.querySelector("#input").addEventListener("keydown", (event) => {
  if (event.key == "Enter")
    apiRequest();
});

document.querySelector("#search").addEventListener("click", () => {
  apiRequest();
});

apiRequest = () => {

  document.querySelector(".images-container").textContent = "";

  const apiUrl = 'https://api.unsplash.com/search/photos?query=' + input.value + '&per_page=1&client_id=API_KEY';

  fetch(apiUrl)

    .then(response => {
      if (!response.ok) throw Error(response.statusText);
      return response.json();
    })

    .then(data => {
      loadImages(data);
    })

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

loadImages = (data) => {
  for (let i = 0; i < data.results.length; i++) {
    let searchImage = document.createElement("div");
    searchImage.className = "img";
    searchImage.style.backgroundImage = "url(" + data.results[i].urls.regular + "&w=1366&h=768" + ")";
    document.querySelector(".images-container").appendChild(searchImage);
  }
}