MCPcopy Create free account
hub / github.com/codemistic/Web-Development / changeBackground

Function changeBackground

Gradient Generator/index.js:58–63  ·  view source on GitHub ↗
(num, lColor, rColor)

Source from the content-addressed store, hash-verified

56
57
58function changeBackground(num, lColor, rColor) {
59 const Code = `linear-gradient(${num}deg, ${lColor}, ${rColor})`;
60 console.log(Code);
61 body.style.background = Code;
62 cssCode.textContent = `background: ${Code};`
63}

Callers 2

index.jsFile · 0.85
changeFunction · 0.85

Calls 1

logMethod · 0.45

Tested by

no test coverage detected