Third Quarter of Exam Deck Flashcards
What are the values for justify-content?
- center
- flex-start
- flex-end
- space-around
- space-between
What are the values for align-items
- center
- flex-start
- flex-end
- stretch
- baseline
What is responsive design?
Responsive Design allows a website to appear differently on different kinds of devices.
Write the code for Viewport Scaling
<meta name=‘viewport’ content=‘width=device-width, initial-scale=1.0’>
Explain how to design a form (before coding)
- Identify the types of information to collect
- Use labels and legends to clearly identify the meaning of each Web form element
List the form UI elements
- A Web form is created using the HTML <form> </form> element
- The HTML <fieldset> element groups fields in sections of the form
- Text boxes are created using the HTML input type with value text
- Text areas are created using HTML textarea elements
What is templating languages?
It is called a templating language because we specify the HTML as a template, where the data will be filled in later
What is programming languages
programming languages will perform the backend logic on websites the tasks that programming languages do include:
* Processing user login
* Performing database searches
* Adding, updating, and deleting database records
What is PHP’s history?
- PHP was developed by Rasmus Lerdorf in 1995
- Initially it was primarily a templating language
What are arithmetic operators?
Arithmetic operators are used with numeric values to perform operations, such as addition, subtraction, multiplication, modulus etc.
What are comparison operators?
Comparison operators are used to compare two values (number or string)
What are conditional statements?
PHP provides a range of statements that allow us to evaluate a condition and proceed or not, based on a True or False evaluation of that condition.
Associative vs Indexed Array
- An indexed array is simply a list of values.
- Associative array will be a list that features keys and values. You set a key with a value for example first_name would be a key and the key would have a value of Dylan
What is a foreach loop?
- The foreach loop is designed to loop through the contents of an array
- Each time through the loop, the loop variable will contain the next element in the array
What is a For Loop?
The for loop is used when you know in advance how many times a loop should be run.