Difference between revisions of "Javascript"

From Publication Station
Line 1: Line 1:
=Overview:=
2 sessions
2 sessions


Line 7: Line 8:
* control structure
* control structure
* functions
* functions
= What is JavaScript? =
<blockquote>
JavaScript is a scripting or programming language that allows you to implement complex things on web pages — every time a web page does more than just sit there and display static information for you to look at — displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved.<ref>"What is JavaScript?" MDN Web Docs, 28 Mar. 2018, https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript.</ref> </blockque>
= Variables =
A variable is a container for some value. Like a number to be used in a sum, or a text string.
Most importantly: variables' values can change. They aren't the values themselves, but containers for values, like little  boxes that you can store things in.
https://mdn.mozillademos.org/files/13506/boxes.png
<ref>"Storing the information you need — Variables." MDN Web Docs, 28 Mar. 2018, developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Variables.</ref>
= References =
* [https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/A_first_splash Mozilla's A first splash]
* [https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_went_wrong Mozilla's What went wrong? Troubleshooting JavaScript]
<references/>

Revision as of 13:42, 28 March 2018

Overview:

2 sessions

Subjects:

  • JS in webpages
  • JS data types & variables
  • loops
  • control structure
  • functions

What is JavaScript?

JavaScript is a scripting or programming language that allows you to implement complex things on web pages — every time a web page does more than just sit there and display static information for you to look at — displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved.[1] </blockque>

Variables

A variable is a container for some value. Like a number to be used in a sum, or a text string.

Most importantly: variables' values can change. They aren't the values themselves, but containers for values, like little boxes that you can store things in.


https://mdn.mozillademos.org/files/13506/boxes.png [2]


References

  1. "What is JavaScript?" MDN Web Docs, 28 Mar. 2018, https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript.
  2. "Storing the information you need — Variables." MDN Web Docs, 28 Mar. 2018, developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Variables.