GoConqr has a new look! Let us know what you think.

Flashcards

Learn with Leon

Nirel Chua English 90 cards

Learn with Leon

Cards in this deck (90)

  1. 1What is the internet?Its a wire that connects two different kinds of devices. Client's side devices and the server's side devicesWhat is the internet?
  2. 2How to get through the Trough of SorrowManage Frustration
    Consistency
    Taking Care of Yourself
  3. 3Why do we follow the Golden Rule (separating HTML, CSS, JavaScript)?For organization
  4. 4HTML SyntaxSpelling and grammar rulesHTML Syntax
  5. 5Heading Elements(tags)Heading Elements(tags)
  6. 6Other text elementsOther text elements
  7. 7Nerd fightsBreak tags and horizontal tags don't need ending tagsNerd fights
  8. 8Assisted Device Elementsem tags to Italicise, strong to make it boldAssisted Device Elements
  9. 9HeaderContent for the beginning of the document.
  10. 10Ordered listOrdered list
  11. 11Unordered listUnordered list
  12. 12Containing ElementsContaining Elements
  13. 13When to use div?Used to divide parts of the html in a more specific and organised way. Although there other more semantic decisions that we can make these days.
  14. 14When to use section?We can group lots of content together
  15. 15When to use article?For contents that should be shared. Things that you can cut out and share
    Ex. Newspaper articles, blog posts
  16. 16When to use aside?For things like ads or sidebars
  17. 17FooterContent for the end of the document
  18. 18Deprecated Elements (things we no longer use)Can be part of CSS for separation concerns, therefore not really included in HTMLDeprecated Elements (things we no longer use)
  19. 19Why do we need Progressive Enhancement?roughly 35% of America's rural residents - lack access to broadbandWhy do we need Progressive Enhancement?
  20. 20Where does CSS go?inline, in the head and in a separate file.
    * Separate file to adhere separation concerns
  21. 21What are Classes?Classes are for selecting multiple elements within that class.
    ex: .className
  22. 22What are classes used for?For selecting multiple elements. Classes with the same value can be used multiple times per documentWhat are classes used for?
  23. 23What are IDs?It is used for selecting distinct elements.
    ex: #idName
    BONUS:
    Only one id with the same value per document
  24. 24What are IDs used for?IDs are used for selecting distinct elements. Only one id with the same value can be used per document.What are IDs used for?
  25. 25Font-familyFonts are files. The browser needs that file to know how to render a file.Font-family
  26. 26Four main ways to use colour in CSSFour main ways to use colour in CSS
  27. 27Explain CascadeWhat comes below, can override what come above
    *as long as it has SPECIFICITY
    Explain Cascade
  28. 28What is this?RuleWhat is this?
  29. 29What is this?SelectorWhat is this?
  30. 30What is thisDeclaration BlockWhat is this
  31. 31What is this?DeclarationWhat is this?
  32. 32What is this?PropertyWhat is this?
  33. 33What is this?ValueWhat is this?
  34. 34Explain this relationshipto select an element that is the direct child of the parent elementExplain this relationshipExplain this relationship
  35. 35Explain this relationshipTo select an element that is inside of another element without being the direct child of the parentExplain this relationshipExplain this relationship
  36. 36Explain this relationshipTo select an element that is the next to the immediate siblingExplain this relationshipExplain this relationship
  37. 37How many points of Specificity?How many points of Specificity?How many points of Specificity?
  38. 38How many points of Specificity?How many points of Specificity?How many points of Specificity?
  39. 39What is everything in web development?Everything you see is a boxWhat is everything in web development?
  40. 40What does increasing the padding do?It increases the distance between the element itself and the border
  41. 41What to do when you don't know the answer?Go to MDN!!!
  42. 42Why is Independence day a true story?Binary, Upload, Boom. 'Murica
    We are assuming alien language used in ship uses Binary(on/off) , and can build language up enough to infect mothership.
  43. 43What is a program?Set of instructions you write to tell a computer what to do
  44. 44What is programming?Writing instructions in a language that the computer can understand.
  45. 45What is syntax?"Spelling and grammar" rules of a programming language
  46. 46What is Pseudo Code?Writing your process in plain language. The logic of what we want to happen.
  47. 47What does the declaration step do?Creates space in memory
  48. 48What are variables?Buckets we can hold data in. We tell the program to remember values to be used later on
  49. 49What can you store variables in?Strings, numbers, booleans, etc.
    (to be updated)
  50. 50Explain what Strings areStrings store texts and is surrounded by either single or double quotes
    BONUS:
    You can't use the same quotation marks in the inside of the string as the outside unless you "escape (/)" it.
  51. 51What is camelCase?Is a variable convention, where the first word is lower case and the rest of the other words are upper case.
  52. 52What are the types of numbers in JavaScript?Integers: 23, 5, 2
    or
    Floats: 5.123, 4.23, 23.21
    or
    Signed: -120.388, +5, -19
  53. 53What are the Arithmetic in JavaScript?What are the Arithmetic in JavaScript?
  54. 54Logical OperatorsLogical Operators
  55. 55One equal sign means what?Assignment
  56. 56Two equal signs means what?Comparison of value
  57. 57Three equal signs means what?Comparison of value and type
  58. 58What is the danger bw Assignment and Comparison?Risk of reassigning value
  59. 59What are conditional syntax for?The ability to make decisions.
    ex.
    if(condition is true) {
    //Do cool stuff
    }
  60. 60Multiple conditions characters&& : and
    || : or
  61. 61What is an else...if statement?What is an else...if statement?
  62. 62What are multiple conditions?What are multiple conditions?
  63. 633 types of users?Accesibility, Web crawlers,
  64. 64What is a CMS?A content management system is a computer software used to manage the creation and modification of digital content. A CMS is typically used for enterprise content management and web content management
  65. 65What is DOM?Document Object Model. Rendering of the HTML and CSS
  66. 66What are loops?Enables to repeat an action multiple times
  67. 67Types of loopsif/else, for/each, while
  68. 68Loops - Forfor (let i=1)
  69. 69Loops - Whilelet count = 0
    while (count < 5)
    console.log(count)
    count++
  70. 70Arrays- A data structure to store ordered collections.
    -Array elements are numbered starting with zero
    -Arrays have many methods to manage the order of elements
  71. 71What are the two ways arrays can be created?Constructor or literal notation
  72. 72Array Constructorlet newArr = new Array ( )
  73. 73Declaring Arrayslet newArr = [ ]
  74. 74Array IterationIterates through an array passing in the value and index of each elementArray Iteration
  75. 75array.shiftRemove first item in the array
  76. 76array.popRemove last item in the array
  77. 77array.unshiftAdd item at the beginning of the array
  78. 78array.pushAdd item to the end of an array
  79. 79array.mapReturns new arrayarray.map
  80. 80Ternary Functionconst headsOrTails = _ => Math.random < .5 ? 'heads' : 'tails'
  81. 81What are objects?- are a collection of variables and functions
    -Objects represent the attributes and behaviour of something used in a program
    -Object variables are called properties and object functions are called methods
    -Objects store "keyed" collections
  82. 82What are APIsA simple interface for a complex action
  83. 83destructured assingmentwe create a variable with the name of an object's key that is wrapped in curly braces { } and assing to it the objectdestructured assingment
  84. 84What is a function?It's a reusable set of instructions.
  85. 854 pillars of OOPEncapsulation, Abstractions, Inheritance, Polymorphism
  86. 86Encapsulationgroup related variables and functions that operate on them into objects.
    *The fewer number of parameters, the easier it is to use and maintain that function
  87. 87AbstractionsWe hide some of the properties and methods from the outside. It gives a simpler interface, reduce the impace of change
    ex. DvD player: logical board inside, and buttons you interact with on the outside. You press play but you don't know what's happening inside.
  88. 88Inheritancea mechanism that allows you to eliminate redundant code
  89. 89Polymorphisma technique that allows you to get rid of long if/else or switch/case statements
  90. 90Benefits of oopEncapsulation: reduce complexity + increase reusability
    Abstraction: simple interface + isolate impact of change
    Inheritance: eliminate redundant code
    Polymorphism: refactor long swith/case statements

Information

Description
Flashcards on Learn with Leon, created by Nirel Chua on 26/02/2022.
Created by
Nirel Chua
Views
9
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?