#100devs Full Stack Web Developer Notes

0.0(0)
studied byStudied by 7 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/76

flashcard set

Earn XP

Description and Tags

All the must learn information about the cohort

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

77 Terms

1
New cards

Golden Rule

Keeping the HTML, CSS and JS separated for organization purposes. This practice enhances maintainability and readability of the code.

2
New cards

Headings

Describe the content that comes after.

3
New cards

HTML

Markup language used to create the structure of web pages.

4
New cards

CSS

Language used to style web pages.

5
New cards

Writing Emails

The only time we use CSS in an HTML file.

6
New cards

HTML Syntax

Opening tag, content and closing tag.

7
New cards

CSS Syntax Breakdown

Is called a rule and consists of a selector and a declaration block wrapped in curly braces. The declaration block contains a set of declarations, each consisting of a property and its value

8
New cards

Box Model

Every element on a webpage is a box that consists of content, margins, borders and padding.

9
New cards

Floats

A property that moves an element to the left or right, allowing text to wrap around it.

10
New cards

Program

Set of instructions that you write to tell a computer what to do.

11
New cards

Programming

The act of writing in a language that the computer can understand to create programs and/or webpages.

12
New cards

Syntax

Spelling and gramar rules of a programming language.

13
New cards

Variable

A container that stores data values.

14
New cards

Steps of creating a Variable

Declaration & Assignment.

15
New cards

camelCase

First letter of the first word in lowercase, then first letter of each following word in uppercase.

16
New cards

Variable Types

Let, const and var(outdated).

17
New cards

Variable Data Types

Strings, numbers and boolean(true or false).

18
New cards

Function

Group of statements that perform a certain task and can be reused.

19
New cards

Function Syntax

Declare the function and add the parameters(used like variables) & arguments(calling the function to run).

20
New cards

How to access a website’s stylesheet with Java

By combining the variable that is storing the element with “.style” followed by a “.” and the name of the property we want to access. E.g : h1.style.color

21
New cards

How to access an element’s attribute value with JS

By combining the variable storing the element with “.” + the attribute name. E.g: input.type

22
New cards

What can we change from our HTML and CSS files with JS?

We can access and change anything we want with JS

23
New cards

Concatenation

The process of joining two or more strings together.

24
New cards

Statement

An instruction inside a program.

25
New cards

Statement Rules

One statement per line and each statement should end in a semicolon( ; )

26
New cards

Increment Operator

“++”

27
New cards

Code Block

Group of statements wrapped in curly braces { } that are executed together.

28
New cards

Condition

Is an expression that evaluates if a value is either true or false.

29
New cards

Condition Satisfied

When the value’ s result is true.

30
New cards

Loop

Is a control pattern that repeat a set of instructions multiple times until a condition is met

31
New cards

Iteration

Each time the code runs in the loop.

32
New cards

Loop counter

The variable associated with the loop often named as “i”

33
New cards

Local variable

Is variable created inside a function

34
New cards

Exponentiation Operator

The symbol ** used to raise a number to a power.

35
New cards

Increment Operator

The symbol ++ that will increase a number by 1

36
New cards

Decrement Operator

The symbol -- that will decrease a number by one

37
New cards

String Interpolation

Using template literals to embed variables into strings.

38
New cards

Ternary Operator

The symbol “?” used to make if/else comparisons = (condition) ? value if true : value if false

39
New cards

Array

Is a data type that can store a set of elements

40
New cards

Type of elements we can store within an array

We can store strings, numbers, booleans and even objects.

41
New cards

How to get the size of an array

By using the length property, using the dot notation.

42
New cards

push() method

It is a method used to add an element at the end of an array.

43
New cards

push() syntax

variable.push('“Element being added“)

44
New cards

unshift() method

It is a method used to add an element at the beginning of an array

45
New cards

unshift() syntax

variable.unshift(“Insert element here“)

46
New cards

pop() method

Allows you to remove the last element of an array.

47
New cards

pop() syntax

variable.pop();

48
New cards

splice() method

Allows you to remove multiple elements at once.

49
New cards

splice() syntax

It takes two parameters, the first one is the index of where to begin removing and the second one is the amount of elements to be removed. variable.splice(0, 1); // index 0, remove 1 element

50
New cards

HTML Elements

Designators that define the structure and content of objects within a page.

51
New cards

HTML Attributes

They are additional values that adjust the behavior or display of an html element.

52
New cards

HTML Semantics

Is a practice of giving content on a page meaning and structure by using HTML elements.

53
New cards

CSS Selectors

They are used to select the HTML elements on our web pages that we want to style.

54
New cards

Object-Oriented Programming (OOP)

A programming style that uses objects to organize code. With this style, you create and modify objects, which together make up the program.

55
New cards

Object

Is a collection of key/value pairs where each key (also called a property) is associated with a value.

56
New cards

Object’s use

They are used to store and organize related data and can also hold functions as values (methods).

57
New cards

Accessing an object's properties

You can access the value of its properties by using dot notation followed by the property name.

58
New cards

Changing the object’s value

We can target the object and use the property name with the dot notation to change the value.

59
New cards

Adding a propety to an Existing Object

We target the object and use the dot notation with the new property name and assign a value to it.

60
New cards

CSS Grid

Layout system that lets us add items both horizontally and vertically on a webpage.

61
New cards

Figure Element

Is a semantic HTML tag used to group media content, such as images or videos, along with an optional caption, that can be referenced independently from the main document.

62
New cards

arr.shift()

extracts an item from the beginning

63
New cards

arr.splice()

It allow us to remove and add multiple elements at the same time, indicating from what index to start, how many elements to remove and each element to be added, separated by commas. Could use negative numbers to start counting back to front.

64
New cards

Slice() method

It returns a new array copying to it all items from index start to end (not including end). Starts front or end depending if number is positive or negative

65
New cards

concat() method

creates a new array that includes values from other arrays and additional elements.

66
New cards

arr.indexOf(item, from)

looks for item starting from index from, and returns the index where it was found, otherwise -1. Usually used with just the item arg.

67
New cards

arr.LastindexOf(item, from)

is the same as indexOf, but looks for from right to left. Usually used with just the item arg.

68
New cards

arr.includes(item, from)

looks for item starting from index from, returns true if found. Usually used with just the item arg.

69
New cards

arr.find(function(item, index, array)

if true is returned, item is returned and iteration is stopped, otherwise returns undefined

70
New cards

arr.findIndex(function(item, index, array)

returns the index where the element was found instead of the element itself. The value of -1 is returned if nothing is found.

71
New cards

arr.findLastIndex(function(item, index, array)

is like findIndex, but searches from right to left

72
New cards

arr.filter()

looks for an element that makes the function return true

73
New cards

arr.filter(fn)

returns an array of all matching elements

74
New cards

arr.map()

It calls the function for each element of the array and returns the array of results.

75
New cards

arr.sort()

sorts the array in place, changing its element order.

76
New cards

arr.reverse()

reverses the order of elements in arr.

77
New cards

Convert a non-negative number to an array of digits and reverse it

function digitize(n) {

return String(n).split('').map(Number).reverse()

}