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

Function createErrorCard

script1.js:46–53  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

44main.innerHTML = cardHTML
45}
46function createErrorCard(msg) {
47const cardHTML = `
48<div class="card">
49<h1>${msg}</h1>
50</div>
51`
52main.innerHTML = cardHTML
53}
54function addReposToCard(repos) {
55const reposEl = document.getElementById('repos')
56repos

Callers 2

getUserFunction · 0.70
getReposFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected