MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / myFunction

Function myFunction

assets/js/Memegenerator.js:20–26  ·  view source on GitHub ↗
(imgs)

Source from the content-addressed store, hash-verified

18
19
20function myFunction(imgs) {
21 var expandImg = document.getElementById("expandedImg");
22 var imgagediv = document.getElementById("imagediv");
23 expandImg.src = imgs.src;
24 imgagediv.innerHTML = imgs.alt;
25 expandImg.parentElement.style.display = "block";
26}
27
28function changetext() {
29 var upperText = document.getElementById("topText");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected