Skip to content

Instantly share code, notes, and snippets.

@mikedao
Forked from BrianZanti/b2_intermission_work.md
Last active September 26, 2024 15:57
Show Gist options
  • Select an option

  • Save mikedao/cf0f63490a0ef91ac7d251e95fc410f7 to your computer and use it in GitHub Desktop.

Select an option

Save mikedao/cf0f63490a0ef91ac7d251e95fc410f7 to your computer and use it in GitHub Desktop.
B2 Intermission Work Submission

B2 Intermission Work

Answer these Check for Understanding questions as you work through the assignments.

HTML

  1. What is HTML?
  2. What is an HTML element?
  3. What is an HTML attribute?
  4. What is the difference between a class and an id? When would you use one vs. the other?
  5. What HTML would you write to create a form for a new dog with a "name" and an "age"?
  6. What are semantic tags? When would you use them over a div?
  7. Explain what each of the following HTML tags do and when you would use them:
  • <h1>, <h2>, etc.
  • <p>
  • <body>
  • <a> and the href attribute
  • <img> and the src attribute
  • <div>
  • <section>
  • <ul>, <ol>, and <li>
  • <form>
  • <input>

CSS

  1. What is CSS?
  2. What is a CSS selector? How do you use the ID selector? The class selector?
  3. What are the three ways to include CSS in your HTML documents? What are the pros and cons of each?
  4. What is the Box Model? Describe each component of the Box Model.

Static Challenge

Copy and paste the link to your Static Challenge repo here:

SQL

Jumpstart Lab Tutorial

  1. What is a database?
  2. What is SQL?
  3. What is SQLite3?
  4. What is a Table?
  5. What is a primary key?
  6. What is a foreign key?
  7. Explain what each of the following SQL commands do:
  • insert
  • select
  • where
  • order by
  • inner join

PG Exercises

  1. How can you limit which columns you select from a table?
  2. How can you limit which rows you select from a table?
  3. How can you give a selected column a different name in your output?
  4. How can you sort your output from a SQL statement?
  5. What is joining? When do you need to join?
  6. What is an aggregate function?
  7. List three aggregate functions and what they do.
  8. What does the group statement do?
  9. How does the group statement relate to aggregates?

Rack Tutorial

  1. What is HTTP?
  2. What is an HTTP Method (also known as an HTTP Verb)?
  3. What is an HTTP request?
  4. Describe the three parts of the HTTP request line.
  5. Describe the HTTP request headers.
  6. Describe the HTTP request body.
  7. What is an HTTP response?
  8. Describe the three parts of the HTTP status line.
  9. Describe the HTTP response headers.
  10. Describe the HTTP response body.
  11. What is a Web Framework?
  12. What is a status code?
  13. What does it mean to deploy your application?

Rails Tutorial: Task Manager

  1. Define CRUD.
  2. Explain the difference between value and name in this line: <input type='text' name='task[title]' value="<%= @task.title %>"/>.
  3. What are params? Where do they come from?
  4. Check out your routes. Why do we need two routes each for creating a new Task and editing an existing Task?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment