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

Function createErrorCard

GitHub_profiles/script.js:55–63  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

53}
54
55function createErrorCard(msg) {
56 const cardHTML = `
57 <div class="card">
58 <h1>${msg}</h1>
59 </div>
60 `
61
62 main.innerHTML = cardHTML
63}
64
65function addReposToCard(repos) {
66 const reposEl = document.getElementById('repos')

Callers 2

getUserFunction · 0.70
getReposFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected