Describe your issue in detail here.
The Twitter Link will not load when I click the button. The href is opening a new tab but it wont bring me to Twitter. I get an error tab and a (Cannot GET /twitterLink)
Thank You FCC Team!
function init() {
generateQuote()
}
function generateQuote() {
let quoteSize = quoteBank.length;
let randomIndex = Math.floor(Math.random() * quoteSize);
let randomQuoteData = quoteBank[randomIndex];
Add the website for Twitter into the href attribute for the anchor element.
At the moment, it does not have the syntax for a website url, so maybe this is why it is failing the tests.
Also, it seems your code will post the same quote each time.
I placed the link into the href and passed test number 10, which broke tests 6,7,8 and 9. lol. You’re correct, I do need to populate the “quoteBank” … hoping that will help pass 6,7,8 and 9.