Adobe Scan 25 Jun 2023
Adobe Scan 25 Jun 2023
Pt3
Derek Banas
JavaScript Tutorial
To create a function in
JavaScript, start with the
keyword "function" followed by
the name you want to give it. You
can then accept variables and
perform actions on them within
the function. To manipulate the
DOM, you can use JavaScript to
access all of the objects that lie
in our HTML code. HTML
documents contain text, images,
links, CSS style tags, form
elements, etc., which are referred
to as nodes in the DOM.
JavaScript can be used to
manipulate these HTML elements
by referring to them by their
defined HTML ID name.
Comparison Operators in
JavaScript:
• - - - equal to
• != - not equal to
• === - equal value and equal
type