Quote generator with Javascript

YvonneDev
3 min readSep 28, 2020

Quote generator can be used for wallpaper, which randomly selects the data with Javascript. And the Twitter share API helps to share the content with one click.

TALK SEPARATE BELOW:

HEAD

I linked the font-awesome here because of the icon of brain shape contained in the content. If not, just ignore it.

And the tab label too, just for customizing.

The important one is linking the CSS file.

BODY

The container includes three big parts, which are quote-text,quote-author, and buttons.

There are two buttons: the Twitter share button and the next new quote button.

And don’t forget to link the script file.

The loader is extra for smoothing experience because the data loading for a while sometimes.

CSS

--

--

YvonneDev
YvonneDev

Written by YvonneDev

❤️Front-end Web Development self-taught *share what I learned*

No responses yet