Lesson1.3 Flashcards
What does HTML stand for?
HTML stands for HyperText Markup Language.
HyperText is the skeleton of the web.
What is the purpose of CSS in web development?
CSS is used to style and layout web pages.
CSS makes your website look ‘Cool and Styled’.
What tag is used to create a hyperlink in HTML?
The <a> tag is used to create a hyperlink in HTML.</a>
Anchor (<a>) takes you places.</a>
How do you add a background color to a web page using CSS?
Use the background-color property in CSS.
Paint the ‘background’ with ‘color’.
What is the difference between <div> and <span> tags in HTML?</span>
<div> is for block-level elements; <span> is for inline elements.
## Footnote
"DIVides blocks, SPANs lines."
</span></div>
What is a variable in JavaScript?
A variable stores data values.
Variables are ‘storage jars’ for values.
What does console.log() do in JavaScript?
Outputs messages or variables to the console.
Console = Debug dashboard.
How do you write a function in JavaScript?
Use the function keyword.
Functions are the ‘recipe’ for tasks.
What is the difference between == and === in JavaScript?
== checks value equality, === checks value and type equality.
Triple equals is ‘truly equal’.
How do you create a loop in JavaScript?
Use a for loop.
‘For’ repeats forever (almost).
What is a robot in programming terms?
A robot is a machine that follows instructions to perform tasks.
Robots are ‘coded helpers’.
What is a sensor in robotics?
A sensor collects data from the environment.
Sensors are ‘robot senses’.
How do you write a conditional statement in JavaScript for a robot?
Use an if statement.
‘If’ guides robot decisions.
What is an actuator in robotics?
An actuator converts signals into physical movement.
Actuators make robots ‘act’.
How can loops help in robotics programming?
Loops allow robots to repeat actions.
‘Loops’ make robots efficient.
What is a spreadsheet?
A spreadsheet organizes and analyzes data in rows and columns.
Spreadsheet = ‘data grid’.
How do you calculate the sum of numbers in Excel?
Use the SUM function.
SUM adds everything ‘somewhere’.
What is the purpose of a formula in a spreadsheet?
Performs calculations on data.
Formula = ‘math magic’.
What is the difference between a cell and a range in a spreadsheet?
A cell is a single box; a range is a group of cells.
“Cell is ‘one’, range is ‘many’.”
How do you create a chart in Excel?
Select the data and choose a chart type.
Charts ‘visualize’ your data.