Hi,
Any praise or criticism welcome.
The JS needs tweaking . Double clicking the Quote button quickly causes some problems, but go slow and it should work fine.
Many thanks,
Richard
Hi,
Any praise or criticism welcome.
The JS needs tweaking . Double clicking the Quote button quickly causes some problems, but go slow and it should work fine.
Many thanks,
Richard
Hi Richard,
Stylistically, your generator looks great, especially with the modest animation. I could sit here and read quotes for way too long.
As for the double clicking, I donât seem to have that problem on my end, but that could be browser-specific, and Iâm on Chrome.
And you seem to have a good grasp of APIs, which will really help with your next few projects. Tweak away, but itâs a nice generator.
Great design and animate effect.
I really like and twitter button itâs okey.
Very nice interface, I like how it looks. Other than that button which just says âQuoteâ (i.e., thatâs not a very descriptive label for anyone not familiar with the Web app), canât find anything to fault about it visually.
I took a cursory look at your code and have a few critiques on it:
(1) Nothing against you at all but I personally donât like how CodePen allows users to enter HTML without also manually adding the HEAD and BODY tags, which are required for a properly-formatted document. With that said, I think itâs a good idea to get into the habit of adding those anyway even though theyâre not required on CodePen, along with the outer HTML tag. Youâll need to start adding those tags later on, once you start developing without CodePen.
(2) I wouldnât recommend trying to style the HTML tag as thereâs nothing visible about it. Just because you can, doesnât mean you should. The styling for the HTML tag is better placed in the styling for your BODY tag.
(3) I might suggest ordering the selectors in your CSS alphabetically, and placing all the elements together, IDs together, and classes together.
(4) Although Iâve seen some very reputable sources write âfunction()â in JavaScript code, itâs typically more correct to write anonymous functions with a space between the âfunctionâ and the parentheses, like this: âfunction ()â. That way you can more easily see which functions in your JavaScript are anonymous and which ones arenât.
Thanks a lot! Love critique like this, itâs how I learn.
Thanks again!