How can I embed an app image on my homepage?

Hello, first off I want to say im relatively still a shopify noob so please excuse my lack of knowledge. I want to embed this code:

var ShareModule = (function() {
var $el = $(“.share”),
$plus = $el.find(“.plus”),
$header = $el.find(“.share__header”),
$content = $el.find(“.share__content”),
$contentitem = $el.find(“.item”);
togglestatus = false;

$plus.on(“click”, reveal);

function reveal() {
togglestatus = !togglestatus;
if (togglestatus) {
var heightVal = parseInt($el.css(“height”)) + $content.outerHeight() + 30;
$plus.addClass(“rotate”);
$(“.item”).each(function(index) {
var elem = this;
(function(i, elem) {
setTimeout(function() {
$(elem).addClass(“reveal”);
}, i * 150);
})(index, elem);
});

$header.addClass(“active”);
$el.css(“height”, heightVal + “px”);
} else {
$header.removeClass(“active”);
$(“.item”).removeClass(“reveal”);
$plus.removeClass(“rotate”);
$el.css(“height”, “47px”);
}
}
})();

into a certain part of my shopify homepage. What code file do I need to edit to accomplish this? Thanks.