-
-
Save croixk/d8c217a2460b28880951d3c9e5a76592 to your computer and use it in GitHub Desktop.
Revisions
-
croixk revised this gist
Nov 27, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Answer these Check for Understanding questions as you work through the assignmen 3. What is an HTML element? - labels a piece, such as a heading, paragraph, link, etc. 4. What is an HTML attribute? - provides additional information about element. Comes in the form of a name/value pair 5. What is the difference between a class and an id? When would you use one vs. the other? - a class is useds to specifiy a class for an HTML element - this allows you to keep styling similar between different elements. An id is unique, and can only apply to one element at most. An id specifies a unique id for an HTML element - classes can describe multiple elements, so the usage is different. 6. What HTML would you write to create a form for a new dog with a "name" and an "age"? - you would use the input element 7. What are semantic tags? When would you use them over a `div`? - semantic tags are used to describe meaning to both the browser and the developer. A div is used as a generic container, but doesn't provide information on actual meaning. 8. Explain what each of the following HTML tags do and when you would use them: * `<h1>`, `<h2>`, etc. - these are header tags, for headers of different sizes -
croixk revised this gist
Nov 26, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Answer these Check for Understanding questions as you work through the assignmen ## Rails Tutorial: Task Manager **Copy and Paste the link to your Task Manager repo here:** https://github.com/croixk/croix_task_manager **Copy and Paste the link to your Static Challenge here:**https://github.com/croixk/static_challenges 1. Define CRUD. CRUD stands for create, read, update, delete - this refers to the four functions for a persistent storage application. -
croixk revised this gist
Nov 26, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Answer these Check for Understanding questions as you work through the assignmen * `<img>` and the `src` attribute - embeds an image in the html page - the src is the path to the image * `<div>`- define division or section in html * `<section>` - used to group together related elements - means that contents relate to a signle theme * `<ul>`, `<ol>`, and `<li>` - you use <ul> for an unordered list, ol for an ordered list, and li for a list item in an ordered list. * `<form>` - container for input * `<input>`- defines a type for input @@ -50,7 +50,7 @@ Answer these Check for Understanding questions as you work through the assignmen 1. How can you limit which columns you select from a table? - can use select * from - the desired columns come after the 'select' 1. How can you limit which rows you select from a table? - you can use 'where', with a conditional 1. How can you give a selected column a different name in your output? - you can use alter table. 1. How can you sort your output from a SQL statement? - you can use order by 1. What is joining? When do you need to join? - joining allows you to combine two or more tables in a database - this is necessary if you want to be able to use both simultaneously 1. What is an aggregate function? - an aggregate function performs a calculation on a set of values, and returns a single value @@ -65,6 +65,6 @@ Answer these Check for Understanding questions as you work through the assignmen 1. Define CRUD. CRUD stands for create, read, update, delete - this refers to the four functions for a persistent storage application. 1. Define MVC - MVC stands for model, view, controller - this is a model for developing modern user interfaces. 1. What three files would you need to create/modify for a Rails application to respond to a `GET` request to `/tasks`, assuming you have a `Task` model. - you need to create or modify the index, title, and description. 1. What are params? Where do they come from? - Ruby can generate a params object that can be used and manipulated inside of the application 1. Check out your routes. Why do we need two routes each for creating a new Task and editing an existing Task? - we have two routes each since these are different elements of the CRUD model - these require different routes within our program. -
croixk revised this gist
Nov 26, 2021 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -61,10 +61,10 @@ Answer these Check for Understanding questions as you work through the assignmen ## Rails Tutorial: Task Manager **Copy and Paste the link to your Task Manager repo here:** **Copy and Paste the link to your Static Challenge here:**https://github.com/croixk/static_challenges 1. Define CRUD. CRUD stands for create, read, update, delete - this refers to the four functions for a persistent storage application. 1. Define MVC - MVC stands for model, view, controller - this is a model for developing modern user interfaces. 1. What three files would you need to create/modify for a Rails application to respond to a `GET` request to `/tasks`, assuming you have a `Task` model. 1. What are params? Where do they come from? - Ruby can generate a params object that can be used and manipulated inside of the application 1. Check out your routes. Why do we need two routes each for creating a new Task and editing an existing Task? - we have two routes each since these are different elements of the CRUD model - these require different routes within our program. -
croixk revised this gist
Nov 22, 2021 . No changes.There are no files selected for viewing
-
croixk revised this gist
Nov 21, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,8 +37,8 @@ Answer these Check for Understanding questions as you work through the assignmen 1. What is SQL? - SQL stand for structured query language - how we interact with most databases 1. What is SQLite3? - SQLite3 is a database engine 1. What is a Table? - a table is used to store data 1. What is a primary key? - column or group of columns used to identiy a row uniquely in a table 1. What is a foreign key? - column or group of columns in a table that refernce the primary keys of another table 1. Explain what each of the following SQL commands do: * insert - allows you to insert row * select - use this to find rows in the table -
croixk revised this gist
Nov 21, 2021 . 1 changed file with 19 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -33,30 +33,30 @@ Answer these Check for Understanding questions as you work through the assignmen ### Jumpstart Lab Tutorial 1. What is a database? - a means of storing, fetching, calculating, and sorting data 1. What is SQL? - SQL stand for structured query language - how we interact with most databases 1. What is SQLite3? - SQLite3 is a database engine 1. What is a Table? - a table is used to store data 1. What is a primary key? - 1. What is a foreign key? - 1. Explain what each of the following SQL commands do: * insert - allows you to insert row * select - use this to find rows in the table * where - limit returned rows to those with matching attributes * order by - this allows you to order data in a different order than it started in * inner join - allows you to combine different tables ### PG Exercises 1. How can you limit which columns you select from a table? - can use select * from - the desired columns come after the 'select' 1. How can you limit which rows you select from a table? - you can use 'where', with a conditional 1. How can you give a selected column a different name in your output? 1. How can you sort your output from a SQL statement? - you can use order by 1. What is joining? When do you need to join? - joining allows you to combine two or more tables in a database - this is necessary if you want to be able to use both simultaneously 1. What is an aggregate function? - an aggregate function performs a calculation on a set of values, and returns a single value 1. List three aggregate functions and what they do. count - counts the number of items. sum - produces a sum per each value specified. group by - allows you to batch the data into groups, and run the function for each group 1. What does the `group` statement do? - allows you to avoid redundancy/compute aggregates for rows that have identical data 1. How does the `group` statement relate to aggregates? - the group function allows you to use aggregates for collections of data that share a value ## Rails Tutorial: Task Manager -
croixk revised this gist
Nov 20, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,8 +26,8 @@ Answer these Check for Understanding questions as you work through the assignmen 1. What is CSS? - CSS is a language used to style an HTML document (cascading style sheets) - saves the work of styling in html 1. What is a CSS selector? How do you use the ID selector? The class selector? - the selector points to the html element that you want to style. The ID selector uses the id attribute of an HTML element to select a specific element. The class selector selects html elements with a specific class attribute. 1. What are the three ways to include CSS in your HTML documents? What are the pros and cons of each? The three ways are external CSS, internal CSS, and inline CSS. An external style sheet allows the entire website to be changed with just one file. An internal style sheet can be used if a single html page has a unique style. Inline style can be used for single elements. All three can also be combined, with a cascading order of priority - inline is highest priority, then external and internal style sheets, then browser default. 1. What is the Box Model? Describe each component of the Box Model. - the box model is a box that wraps around each HTML element. From inside to out, this goes content, padding, border, margin ## SQL -
croixk revised this gist
Nov 20, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,9 +24,9 @@ Answer these Check for Understanding questions as you work through the assignmen ## CSS 1. What is CSS? - CSS is a language used to style an HTML document (cascading style sheets) - saves the work of styling in html 1. What is a CSS selector? How do you use the ID selector? The class selector? - the selector points to the html element that you want to style. The ID selector uses the id attribute of an HTML element to select a specific element. The class selector selects html elements with a specific class attribute. 1. What are the three ways to include CSS in your HTML documents? What are the pros and cons of each? The three ways are external CSS, internal CSS, and inline CSS. An external style sheet allows the entire website to be changed with just one file. An internal style sheet can be used if a single html page has a unique style. Inline style can be used for single elements. 1. What is the Box Model? Describe each component of the Box Model. ## SQL -
croixk revised this gist
Nov 20, 2021 . 1 changed file with 16 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,23 +4,23 @@ Answer these Check for Understanding questions as you work through the assignmen ## HTML 1. What is HTML? - HTML is the standard markup language for web pages (hyper text markup language) 3. What is an HTML element? - labels a piece, such as a heading, paragraph, link, etc. 4. What is an HTML attribute? - provides additional information about element. Comes in the form of a name/value pair 5. What is the difference between a class and an id? When would you use one vs. the other? - a class is useds to specifiy a class for an HTML element - this allows you to keep styling similar between different elements. An id is unique, and can only apply to one element at most. An id specifies a unique id for an HTML element - classes can describe multiple elements, so the usage is different. 6. What HTML would you write to create a form for a new dog with a "name" and an "age"? 7. What are semantic tags? When would you use them over a `div`? - semantic tags are used to describe meaning to both the browser and the developer. A div is used as a generic container, but doesn't provide information on actual meaning. 8. Explain what each of the following HTML tags do and when you would use them: * `<h1>`, `<h2>`, etc. - these are header tags, for headers of different sizes * `<p>` - this establishes a paragraph * `<body>`- defines document's body - contains all visible contents * `<a>` and the `href` attribute - this definies a hyperlink - the 'href' is the link's destination * `<img>` and the `src` attribute - embeds an image in the html page - the src is the path to the image * `<div>`- define division or section in html * `<section>` - used to group together related elements - means that contents relate to a signle theme * `<ul>`, `<ol>`, and `<li>` * `<form>` - container for input * `<input>`- defines a type for input ## CSS -
mikedao revised this gist
Sep 26, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -60,7 +60,8 @@ Answer these Check for Understanding questions as you work through the assignmen ## Rails Tutorial: Task Manager **Copy and Paste the link to your Task Manager repo here:** **Copy and Paste the link to your Static Challenge here:** 1. Define CRUD. 1. Define MVC. -
BrianZanti revised this gist
Aug 1, 2019 . 1 changed file with 0 additions and 18 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,24 +58,6 @@ Answer these Check for Understanding questions as you work through the assignmen 1. What does the `group` statement do? 1. How does the `group` statement relate to aggregates? ## Rails Tutorial: Task Manager **Copy and Pase the link to your repo here:** -
BrianZanti revised this gist
Apr 16, 2019 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,10 +29,6 @@ Answer these Check for Understanding questions as you work through the assignmen 1. What are the three ways to include CSS in your HTML documents? What are the pros and cons of each? 1. What is the Box Model? Describe each component of the Box Model. ## SQL ### Jumpstart Lab Tutorial @@ -64,6 +60,8 @@ Copy and paste the link to your Static Challenge repo here: ## Rack Tutorial **Copy and Pase the link to your deployed application here:** 1. What is HTTP? 1. What is an HTTP Method (also known as an HTTP Verb)? 1. What is an HTTP request? @@ -80,6 +78,8 @@ Copy and paste the link to your Static Challenge repo here: ## Rails Tutorial: Task Manager **Copy and Pase the link to your repo here:** 1. Define CRUD. 1. Define MVC. 1. What three files would you need to create/modify for a Rails application to respond to a `GET` request to `/tasks`, assuming you have a `Task` model. -
BrianZanti revised this gist
Apr 16, 2019 . No changes.There are no files selected for viewing
-
BrianZanti revised this gist
Apr 16, 2019 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -81,6 +81,7 @@ Copy and paste the link to your Static Challenge repo here: ## Rails Tutorial: Task Manager 1. Define CRUD. 1. Define MVC. 1. What three files would you need to create/modify for a Rails application to respond to a `GET` request to `/tasks`, assuming you have a `Task` model. 1. What are params? Where do they come from? 1. Check out your routes. Why do we need two routes each for creating a new Task and editing an existing Task? -
BrianZanti revised this gist
Apr 16, 2019 . 1 changed file with 9 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -65,8 +65,15 @@ Copy and paste the link to your Static Challenge repo here: ## Rack Tutorial 1. What is HTTP? 1. What is an HTTP Method (also known as an HTTP Verb)? 1. What is an HTTP request? 1. Describe the three parts of the HTTP request line. 1. Describe the HTTP request headers. 1. Describe the HTTP request body. 1. What is an HTTP response? 1. Describe the three parts of the HTTP status line. 1. Describe the HTTP response headers. 1. Describe the HTTP response body. 1. What is a Web Framework? 1. What is a status code? 1. What does it mean to deploy your application? -
BrianZanti revised this gist
Apr 16, 2019 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -62,6 +62,15 @@ Copy and paste the link to your Static Challenge repo here: 1. What does the `group` statement do? 1. How does the `group` statement relate to aggregates? ## Rack Tutorial 1. What is HTTP? 1. What is an HTTP request? Describe the three parts of a request. 1. What is an HTTP response? Describe the three parts of a response. 1. What is a Web Framework? 1. What is a status code? 1. What does it mean to deploy your application? ## Rails Tutorial: Task Manager 1. Define CRUD. -
BrianZanti revised this gist
Apr 16, 2019 . 1 changed file with 70 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,70 @@ # B2 Intermission Work Answer these Check for Understanding questions as you work through the assignments. ## HTML 1. What is HTML? 1. What is an HTML element? 1. What is an HTML attribute? 1. What is the difference between a class and an id? When would you use one vs. the other? 1. What HTML would you write to create a form for a new dog with a "name" and an "age"? 1. What are semantic tags? When would you use them over a `div`? 1. 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? 1. What is a CSS selector? How do you use the ID selector? The class selector? 1. What are the three ways to include CSS in your HTML documents? What are the pros and cons of each? 1. 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? 1. What is SQL? 1. What is SQLite3? 1. What is a Table? 1. What is a primary key? 1. What is a foreign key? 1. 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? 1. How can you limit which rows you select from a table? 1. How can you give a selected column a different name in your output? 1. How can you sort your output from a SQL statement? 1. What is joining? When do you need to join? 1. What is an aggregate function? 1. List three aggregate functions and what they do. 1. What does the `group` statement do? 1. How does the `group` statement relate to aggregates? ## 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? -
BrianZanti created this gist
Apr 15, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ # B2 Intermission Work