Learn JavaScript concepts by building a random quote generator
Learning JavaScript is fun. But What's the point if you are not building stuff with it.
So in this article, we will learn javascript basic concepts and create a random quote generator of our own.
I assume you have a basic knowledge of HTML and CSS a...
blog.rutik.dev8 min read
Kevin Pliester
Webdev
let index=Math.floor(Math.random()*quotes.length; <!--This will give a random quote--> quotes[index];Here you have a
)forgotten. Otherwise super post. Thanks for that!Maybe not for beginners, but a useful library is Lodash. There is shuffle to sort an array too randomly. That way you can save the math() story.
But to bring JavaScript closer, your post is great!