100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Lecture notes introduction and javascript basics Multimedia (IMY 110)

Rating
-
Sold
-
Pages
4
Uploaded on
17-07-2021
Written in
2020/2021

The introduction to the web and introduction to javascript.

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
July 17, 2021
Number of pages
4
Written in
2020/2021
Type
Class notes
Professor(s)
Annique smith
Contains
All classes

Subjects

Content preview

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
$3.07
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
charlottiiieeeg
3.0
(2)

Also available in package deal

Get to know the seller

Seller avatar
charlottiiieeeg
Follow You need to be logged in order to follow users or courses
Sold
4
Member since
5 year
Number of followers
4
Documents
36
Last sold
4 year ago

3.0

2 reviews

5
1
4
0
3
0
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions