Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 37986ea

Browse files
Merge pull request #40 from Prometheus7-creator/patch-1
Update 00_.md
2 parents 8ba0e91 + fe21ae2 commit 37986ea

File tree

1 file changed

+1
-1
lines changed
  • 01_Introduction to JavaScript Development/01_Intro to JavaScript/04_When is JavaScript Executed?

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
JavaScript code is executed during page loading or when the browser fires an event. All the statements in JavaScript are executed at page loading, even if most of the statements are just functions that are not used until the user interacts wit the site.
1+
JavaScript code is executed during page loading or when the browser fires an event. All the statements in JavaScript are executed at page loading, even if most of the statements are just functions that are not used until the user interacts with the site.
22

33
Function calls or code can be attached as "event handlers" via tag attributes that are then executed when the event is fired by the browser. For example, clicking a button on the screen could trigger a piece of code in the JavaScript to do something. (i.e. change the color of the button).

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /