Skip to content

This project contains some fun JS project for when I am bored :)

Notifications You must be signed in to change notification settings

NirvanaDogra/JS-Widgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centering the elements

Accesibility info


Note: Accessing the innerHTML of elements from JavaScript will keep all the whitespace intact. This may return unexpected results if the whitespace is trimmed by the browser.

Literal Character Character Reference Equivalent
< &lt;
> &gt;
" &quot;
' &apos;
& &amp;

Specifying a description that includes keywords relating to the content of your page is useful as it has the potential to make your page appear higher in relevant searches performed in search engines. Example:

Example


The <script> element should also go into the head, and should include a src attribute containing the path to the JavaScript you want to load, and defer, which basically instructs the browser to load the JavaScript after the page has finished parsing the HTML. This is useful as it makes sure that the HTML is all loaded before the JavaScript runs, so that you don't get errors resulting from JavaScript trying to access an HTML element that doesn't exist on the page yet. There are actually a number of ways to handle loading JavaScript on your page, but this is the most reliable one to use for modern browsers


Here's the best rule you can remember: It's only appropriate to use <b>, <i>, <u>to convey a meaning traditionally conveyed with bold, italics, or underline when there isn't a more suitable element; and there usually is. Consider whether <strong>, <em>, <mark> might be more appropriate.

![CSS: How to choose units] (https://whatunit.com/)

todo -grid layout -js

About

This project contains some fun JS project for when I am bored :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published