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

Function tweetQuote

Quote-generator/script.js:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64// Tweet Quote
65function tweetQuote() {
66 const twitterUrl = `https://twitter.com/intent/tweet?text=${quoteText.textContent} - ${authorText.textContent}`;
67 window.open(twitterUrl,'_blank');
68}
69
70// Event Listeners
71newQuoteBtn.addEventListener('click',newQuote);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected