-
User stories:
- I can see a wrapper element with a corresponding
id="quote-box"
. - Within
#quote-box
, I can see an element with a correspondingid="text"
. - Within
#quote-box
, I can see an element with a correspondingid="author"
. - Within
#quote-box
, I can see a clickable element with a correspondingid="new-quote"
. - Within
#quote-box
, I can see a clickable element with a correspondingid="tweet-quote"
. - On first load, my quote machine displays a random quote in the element with
id="text"
. - On first load, my quote machine displays the random quote's author in the element with
id="author"
. - When the
#new-quote
button is clicked, my quote machine should fetch a new quote and display it in the#text
element. - My quote machine should fetch the new quote's author when the
#new-quote
button is clicked and display it in the#author
element. - I can tweet the current quote by clicking on the
#tweet-quote
a
element. Thisa
element should include the"twitter.com/intent/tweet"
path in it'shref
attribute to tweet the current quote. - The
#quote-box
wrapper element should be horizontally centered. Please run tests with browser's zoom level at 100% and page maximized.
- I can see a wrapper element with a corresponding
-
Stack:
- React
- styled-components
- webpack
-
Notifications
You must be signed in to change notification settings - Fork 0
License
erolaliyev/random-quote-machine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published