Section 1

Preview this deck

text, numbers, variables

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

2

All-time users

2

Favorites

0

Last updated

1 year ago

Date created

Mar 14, 2020

Cards (48)

Section 1

(48 cards)

text, numbers, variables

Front

What can be the values of a return statement?

Back

An interpreted programming or script language built into all browsers.

Front

What is javascript?

Back

Pops up a box in the browser

Front

What does the alert function do?

Back

gives you the freedom to add interactivity and responsiveness to your web pages and control how they look.

Front

What can javascript do?

Back

creates a box that has ** for entering a password

Front

What does the attribute value "password" do

Back

creates a box the user can tick/untick

Front

What does the attribute value "checkbox" do

Back

With ()

Front

How should a function end?

Back

Respond to user input

Front

What can interactive web pages do?

Back

Correct -> Access; Incorrect -> Access denied

Front

What is the sequence for checking a user password?

Back

It will run the block of code in the else statement

Front

What will the browser run when an "if" statement is false?

Back

double quotes (" ")

Front

How do you enclose a URL with href?

Back

the value of the function

Front

What does the return statement become?

Back

<a>

Front

What is the anchor tag?

Back

double quotes (" ")

Front

What should all text be enclosed with in javascript?

Back

a way for functions to give us information

Front

What is a return statement?

Back

function getName() { return "Dr.Day"; } var scientist = getName(); alert(scientist);

Front

What is an example of a return statement?

Back

Connect two web pages forming a simple website

Front

What can hyperlinks do?

Back

Use single quotes

Front

What do you have to do inside double quotes to get your code to run?

Back

a word reserved for javascript to use, a special command that the browser understands

Front

What is a reserved word?

Back

return false;

Front

How can we get the browser to stop running code?

Back

in order to make it possible for web browsers to be interactive.

Front

Why was javascript created?

Back

return true;

Front

How do we tell the browser to continue running code?

Back

the block of code ran by the browser

Front

What can the else statement change?

Back

function("argument")

Front

What is an example of a function and an argument in a statement?

Back

return

Front

What is an example of a "reserved word"?

Back

creates a clickable button (with js)

Front

What does the attribute value "button" do

Back

By making web pages respond to mouse clicks and mouse moves.

Front

How can javascript make a web page more interactive?

Back

var variable = "value";

Front

How do we define a variable in javascript?

Back

When you call it

Front

When will the browser run a statement?

Back

Words, numbers, phrases, or images, that you click

Front

What can a hyperlink be made of?

Back

The text between the opening and closing anchor tags

Front

What part of the text becomes the link?

Back

alert("value");

Front

How do we properly write an alert function?

Back

A hyperlink that points to a different place on the current web page or to a web page in the same folder

Front

What is an implicit hyperlink?

Back

Hypertext Reference

Front

What is href?

Back

in your browser

Front

Where will javascript programs run?

Back

work together to perform a specific action

Front

What do statements in a function do?

Back

build interactive web pages

Front

What does JavaScript allow you to do?

Back

;

Front

What should most statements end with in javascript?

Back

No

Front

Should a variable name be written with quotes?

Back

creates a box for entering text

Front

What does the attribute value "text" do

Back

function functionName(arguments) { }

Front

How do we define a function in javascript?

Back

Webpages with anything moving, data appearing or changing, interactive maps, browser based games

Front

What is created with javascript?

Back

By using the anchor tag <a>

Front

How do you start the opening tag of a hyperlink?

Back

Different place on the web page, or a completely new page

Front

Where will hyperlinks take you?

Back

A hyperlink that points to a different web page on a different site

Front

What is an explicit hyperlink?

Back

if statements

Front

What are else statements used with?

Back

arguments

Front

What is information inside a function called?

Back

It has stuff HTML doesnt have: Pieces of code are called statements Variables Operators Functions

Front

How is Javascript different from HTML?

Back