typography: why are the most common or frequent font sizes even numbers like 10px, 12px, 16px, 24px or 32px?

This has to do with technical dependence. Like icon sizes, font sizes or any other fixed dimension in pixels are kept in even numbers to support scaling. If the size is 24 px and the page is reduced to 75 percent, the size will remain an integer. However, an odd number will not be able to do so. Decimals are triggered by one pixel inward or outward, because browsers can not display pixels in decimal.

Useful JavaScript for web development

Useful JavaScripts to develop the website

DHTML Pong script

Phong is an amazing game of ping-pong with artificial intelligence (artificial intelligence) even more impressive. Play against the computer and see if you can win (take it, it's possible). We promote DHTML p … detail in JavaScriptBank. com – 2,000+ free JavaScript codes

[IMG]hxxp: // w w w.javascriptbank. com / javascript.images / game / dhtml-pong-script.jpg[/IMG]

Demo: JavaScript DHTML Pong script

How to install

Step 1: CSS below to design the script, place it in the HEAD section



Step 2: Use the JavaScript code below to configure the script



Step 3: Place the HTML below in your BODY section


Click to continue
0 0
JavaScript Make the link open in a new tab / windowJavaScript world clock – circumference calculator

Quote Originally published by Copyright

The Site may provide, or third parties may provide, links to Internet sites or resources other than Java. Because JavaScriptBank.com has no control over such sites and resources, you acknowledge and agree that JavaScriptBank.com is not responsible for the availability of such sites or external resources, and does not endorse and is not responsible for any content, advertising, products, or other materials on or available from said sites or resources. Furthermore, you acknowledge and agree that JavaScriptBank.com shall not be liable, directly or indirectly, for any damage or loss caused or allegedly caused by or in connection with the use or reliance on such content, goods or services available on or through any site. or resource.