DEV Community

Discussion on: How to build a JavaScript Random Quote Generator

Collapse
 
ashishk1331 profile image
Ashish Khare😎

Come on, this ain't a thing. You can create an API for serving quotes and a simple Json db for storing and updates, which is a better approach. Plus, this is just a client to such API where you had hard coded quotes.

Collapse
 
stackfindover profile image
Stackfindover

Thanks :) You are right, but this is only how we can deal with the array, also we can use API and db

Collapse
 
ashishk1331 profile image
Ashish Khare😎

So, you are saying you wrote this post to show how to handle an array. Not, right!

Thread Thread
 
stackfindover profile image
Stackfindover

This post is How to build a JavaScript Random Quote Generator with array not any api or db

Thread Thread
 
ashishk1331 profile image
Ashish Khare😎

Don't get me started on heading, according to the former, it should construct a quote from random words because being a generator. A generator takes raw materials and process it into a useful form. Bro, I'm done with this and now I take this post as your side/fun tutorial for newbies. Concluded, not worth for anyone above the bar.
With regards and respect,
AshishK

[thread ended]

Collapse
 
harinivas profile image
Harinivas

Yeah, there's already API available for generating quotes on the internet. It's a better approach for this project.