Answer these Check for Understanding questions as you work through the assignments.
- What is HTML?
- What is an HTML element?
- What is an HTML attribute?
- What is the difference between a class and an id? When would you use one vs. the other?
- What HTML would you write to create a form for a new dog with a "name" and an "age"?
- What are semantic tags? When would you use them over a
div
? - Explain what each of the following HTML tags do and when you would use them:
<h1>
,<h2>
, etc.<p>
<body>
<a>
and thehref
attribute<img>
and thesrc
attribute<div>
<section>
<ul>
,<ol>
, and<li>
<form>
<input>
- What is CSS?
- What is a CSS selector? How do you use the ID selector? The class selector?
- What are the three ways to include CSS in your HTML documents? What are the pros and cons of each?
- What is the Box Model? Describe each component of the Box Model.
- What is a database?
- What is SQL?
- What is SQLite3?
- What is a Table?
- What is a primary key?
- What is a foreign key?
- Explain what each of the following SQL commands do:
- insert
- select
- where
- order by
- inner join
- How can you limit which columns you select from a table?
- How can you limit which rows you select from a table?
- How can you give a selected column a different name in your output?
- How can you sort your output from a SQL statement?
- What is joining? When do you need to join?
- What is an aggregate function?
- List three aggregate functions and what they do.
- What does the
group
statement do? - How does the
group
statement relate to aggregates?
Copy and Pase the link to your repo here:
- Define CRUD.
- Define MVC.
- What three files would you need to create/modify for a Rails application to respond to a
GET
request to/tasks
, assuming you have aTask
model. - What are params? Where do they come from?
- Check out your routes. Why do we need two routes each for creating a new Task and editing an existing Task?