# My Random Quote machine- No API version

**URL:** <https://forum.freecodecamp.org/t/my-random-quote-machine-no-api-version/253575>\
**Category:** I Built This\
**Created:** [January 23, 2019, 4:55pm UTC](https://forum.freecodecamp.org/t/my-random-quote-machine-no-api-version/253575 "2019-01-23T16:55:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jermur](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jermur/32/84397_2.png) [@jermur](https://forum.freecodecamp.org/u/jermur)\
**Post date:** [January 23, 2019, 4:55pm UTC](https://forum.freecodecamp.org/t/my-random-quote-machine-no-api-version/253575/1 "2019-01-23T16:55:15Z")

</div>

Here is my random quote machine  
[https://codepen.io/Jman11/full/OdVPvM](https://codepen.io/Jman11/full/OdVPvM)

For now I have used Boostrap 4 and an array of objects for the quotes.

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [January 23, 2019, 5:21pm UTC](https://forum.freecodecamp.org/t/my-random-quote-machine-no-api-version/253575/2 "2019-01-23T17:21:23Z")

</div>

Looks nice, needs a little work.

1. The page is not really responsive.

2. The tweet button does not work.

3. I would use the length of the array instead of hard coding the number. For one, it’s just a good practice to not use hard coded numbers (or magic numbers) and two, if you ever decide to add more quotes it would handle it.

4. See if you can code a check that checks if a quote is the same as the one before it. That is, check that you are not repeating quotes.

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [January 23, 2019, 5:32pm UTC](https://forum.freecodecamp.org/t/my-random-quote-machine-no-api-version/253575/3 "2019-01-23T17:32:48Z")

</div>

Here is something you can try for the responsiveness, use the classes `col-12` and `col-md-8` on the column div

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 17, 2021, 5:40pm UTC](https://forum.freecodecamp.org/t/my-random-quote-machine-no-api-version/253575/4 "2021-02-17T17:40:00Z")

</div>

Closed on February 17, 2021, 5:40pm UTC


