Front End Development Libraries Projects - Build a Random Quote Machine

Tell us what’s happening:

So i have created my random quote generator using React and in VS Code but now i am not sure how to use the CDN link provided to run my tests to see if my program passes. Please help me out.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0

Challenge Information:

Front End Development Libraries Projects - Build a Random Quote Machine

add script tags to your html file and link to the test suite with that

Please explain further still kind of confused

the test suite is a javascript file, link to it from the html file like any javascript file with script tags and the src attribute

that will run my tests automatically when i load the page??

Screenshot 2024-09-16 000441
So i added the script tag and for the src i used the cdn link but i am getting this error in the browser console. Am i doing something wrong?

Hi @bongakon544

Please post your updated html file.

Happy coding

This is the html

put the script element before the closing body tag

1 Like

Thanks whis worked i just had to put the link at the end of the body tag and not in the head tag.

alternatively you need to use the defer attribute, the test bundle needs to load after your app

1 Like

Thanks that works as well.