Module 3: HTML, CSS, JS Basics Flashcards

1
Q

What is CSS for?

A

Design/Looks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is HTML for?

A

Layout/Structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

JavaScript

A

Client-side functionality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PHP

A

Server-side functionality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

(T/F) All HTML elements, except for empty HTML elements, must have a closing tag

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

(T/F) JavaScript and CSS use the same selectors (for the most part)

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

(T/F) In JavaScript, using the window keyword is optional for things like window.alert(), window.addEventListener(), window.prompt(), etc.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When a <form> is submitted, what are all the options that’d make an input eligible to send data for that submission?

A
  • Input element must be a child of the form (if another specific condition isn’t met)
  • Input element must have a name attribute
  • Input element must have a form attribute if not a child of the form
  • If provided, the form attribute ‘onsubmit’ must receive/return true
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What languages will properly run on a page that has a .html extension?

A
  • HTML
  • CSS
  • JavaScript
How well did you know this?
1
Not at all
2
3
4
5
Perfectly