Tutor profile: Anthony D.
Subject: HTML Programming
What is the difference between a div and a span?
A div is considered a "block" element. Basically that means the element has its own line to itself (not thinking about any styles being applied at this point), and is used to organize larger chunks of code. A span is considered an "in-line" element, and does not form its own line when added to HTML. It is used for smaller pieces of text or code, and does not disrupt the flow of other code around it.
What is a Foreign Key and why are they useful?
A foreign key is your ticket to defining how tables relate to each other in a clear, concision way. If you put a foreign key on a table, you are referencing the "Primary Key" (unique identifier) of another table. Foreign keys are useful because they allow one table to be associated with multiple other tables without repeating data.
Subject: C Sharp Programming
What is a class and why are they important?
C# is considered an "object oriented" programming language. Basically that means that our code focuses on objects that have certain properties associated with them. A class is essentially the template that defines what your object is. Want to create a Dog in your code? Sure! Just define what makes a dog, a dog. Your Dog class can help define what a dog IS with something called a property: Size, FurType, and Color. It can also define what a Dog DOES with something called a method: Bark(), Walk(), Fetch() Now, when you want to create a Dog, you will "instantiate" the class, which means you are using your template to make a concrete example out of it.
needs and Anthony will reply soon.