100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Lecture notes introduction and javascript basics Multimedia (IMY 110) R50,00   Add to cart

Class notes

Lecture notes introduction and javascript basics Multimedia (IMY 110)

 7 views  0 purchase

The introduction to the web and introduction to javascript.

Preview 1 out of 4  pages

  • July 17, 2021
  • 4
  • 2020/2021
  • Class notes
  • Annique smith
  • All classes
All documents for this subject (3)
avatar-seller
charlottiiieeeg
IMY 110

JAVASCRIPT
WHAT IS JAVASCRIPT



WHAT
● A client-side programming language
● It runs in the browser and does not need a server
● Used to:
○ Validate forms (client-side)
○ Check if the password is long enough, contains letters etc
○ Create animations and games
○ Show/hide elements
○ Works with powerful HTML5 features (e.g. canvas and geolocation)
○ Search and autocomplete



WHERE DOES IT FIT IN
● Interactivity of a website



HOW TO USE IT
● Script tags: script tags can be anywhere inside the body or head of an
HTML document
○ Insert it before the closing body tag so that the whole page loads
before the JavaScript runs (no errors)
● External script file

SYNTAX



EXTERNAL SCRIPT FILE
● <script src = “script.js”></script>
● To add JavaScript in an external script file (recommended), include the
src attribute inside the <script> tag and leave the tag empty

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller charlottiiieeeg. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R50,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R50,00
  • (0)
  Buy now