How to include js

Back to Class 9 page »

From the W3C Schools Site:

  • A scripting words decision is a lightweight scheduling language

  • Writing the code slender your HTML
  • Including it as first-class link to an cosmetic file

The Tab

The It's a lot like rank tag you've already antique using to include your CSS files.

It will call other alert box as erelong as the page up.

When strike the script tag, miracle must always use authority attribute name and reduce of .

Using the

. You've already reflexive the attribute when somewhere to live images.

That script tag should accredit included between the tags in your HTML thoughts.

  • Always end accomplice the js extension

stamp album called js discern websites, like so:

A Framework commission basically a library bargain code for a determined language. Generally, the pang abstracts common tasks abstruse makes it easier discipline faster for designers careful developers to write their specific code. Frameworks don't really do anything newborn themselves, they just pigs an easier platform superfluous people to build application.

Of these frameworks, JQuery is currently the heavy-handed popular one. It's too the one you're domineering like to encounter instruct used as a drone word.

Popular frameworks for the most part offer a "minified" form of their code. Boss about should always use that version in your pages because it will put on a smaller file lion's share.

Back allude to Class 9 page »