MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / getNewQuotes

Function getNewQuotes

assets/js/Dynamicquotegenerator.js:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18console.log(pink, grey, blue, peach, yellow ,green, lightblue, purple, orange);
19
20const getNewQuotes = () => {
21 //for getting a random quote
22 quote.innerHTML = `" ${realdata.content} "`;
23 realdata.author == null
24 ? (author.innerHTML = " - Unknown")
25 : (author.innerHTML = `- ${realdata.author}`);
26};
27
28//function to get quotedata
29const getQuote = async () => {

Callers 1

getQuoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected