MCPcopy
hub / github.com/zachgoll/fullstack-roadmap-series / clearAll

Function clearAll

code-challenges/lesson-7/solution/script.js:1–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function clearAll() {
2 const meme = document.querySelector(".meme-content");
3 const joke = document.querySelector(".joke-content");
4 const quote = document.querySelector(".quote-content");
5 const riddle = document.querySelector(".riddle-content");
6
7 meme.innerHTML = "";
8 joke.innerHTML = "";
9 quote.innerHTML = "";
10 riddle.innerHTML = "";
11}
12
13function showMeme() {
14 // Value should be a string representing image URL

Callers 4

showMemeFunction · 0.70
showJokeFunction · 0.70
showQuoteFunction · 0.70
showRiddleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected