Skip to content

Instantly share code, notes, and snippets.

@chriscarlsondev
chriscarlsondev / Wireframe of Better Know Wisconsin quiz app
Last active May 19, 2019 21:49
These are the initial designs including napkin sketches and wireframes for the Better Know Wisconsin quiz app
Sketches
Back of the napkin design https://chriscarlsondev.github.io/quiz-app/images/napkin-design.jpg
Wireframes
Quiz Start Screen https://chriscarlsondev.github.io/quiz-app/quiz-start.html
Quiz Question Screen https://chriscarlsondev.github.io/quiz-app/question.html
Quiz Answer Screen https://chriscarlsondev.github.io/quiz-app/answer.html
Quiz End Screen https://chriscarlsondev.github.io/quiz-app/quiz-end.html
Repo
@chriscarlsondev
chriscarlsondev / Better Know Wisconsin quiz app.md
Last active May 22, 2019 20:45
Better Know Wisconsin Quiz App
@chriscarlsondev
chriscarlsondev / Portfolio Copy
Last active May 20, 2019 19:34
Draft of the copy for my portfolio
** Headline **
Hi, I'm Chris. I'm a web developer and tech educator. I am interested in business, technology and how we learn.
** Bio **
Hi, I'm Chris. I'm a web developer and tech educator. I am interested in business, technology and how we learn.
Frontend web development rocks because it combines the challenge of problem-solving with the creativity of design.
I teach others what I know and I've been doing it formally since 2011. I've taught classes on a wide range of subjects
including SharePoint, career development, and growth mindset.
@chriscarlsondev
chriscarlsondev / Portfolio Sketch
Created May 21, 2019 01:00
Sketch of the interface of my personal porfolio
Sketch
https://chriscarlsondev.github.io/resume/images/portfolio-sketch.jpg
@chriscarlsondev
chriscarlsondev / Quiz App Questions
Created May 21, 2019 14:40
List of questions that will be used in the Better Know Wisconsin Quiz app
1. What city is the state capital of Wisconsin?
a) Answer: Madison
b) Green Bay
c) La Crosse
d) Hurley
2. What is the name of the current home to the Milwaukee Brewers baseball team?
a) Chase Field
b) Answer: Miller Park
c) Target Field
d) Wrigley Field
@chriscarlsondev
chriscarlsondev / HowWebAppsWorkAssignment.md
Last active May 21, 2019 17:57
An analogy and diagram to explain how web apps work

Write an analogy to describe the relationship between clients and servers. The client and server relationship is like ordering products from Amazon. The customer (client) creates an order for a product from Amazon (server). The server receives the request and ensures that the person is able to purchase it. If they are able to purchase it, Amazon (server) sends by the requested product or products (resources) back to the client.

Draw a diagram of the request/response cycle. You can draw your diagram by hand and take a photo to add to your Gist. request-response-cycle

@chriscarlsondev
chriscarlsondev / ReadingAPIDocumentationAssignment.md
Last active May 21, 2019 19:53
My answers for the Reading API Documentation Assignment
  1. Visit the YouTube API documentation discussed above and find the subscription list endpoint documentation. List 1 required parameter and 2 optional parameters for this endpoint. For each parameter listed, state the data type and give an example of the allowed values. https://developers.google.com/youtube/v3/docs/subscriptions/list Required parameter:
  • part (data type: string, example value: snippet) Optional parameters:
  • forChannelId (data type: string, example value: comma separated list of channel IDs)
  • order (data type: string, example value: alphabetical)
  1. Visit the Google Maps Geocoding API documentation found here: https://developers.google.com/maps/documentation/geocoding/intro. Construct the full URL for requesting the geographic coordinates of The Statue of Liberty in JSON format. Do the same for your own address.
-- First, remove the table if it exists
drop table if exists bookmarks;
-- Create the table anew
create table bookmarks (
id INTEGER primary key generated by default as identity,
title VARCHAR(50) not null,
URL VARCHAR(50) not null,
description VARCHAR(300),
rating INTEGER not null
@chriscarlsondev
chriscarlsondev / create.shopping-list.sql
Created July 1, 2019 15:41
SQL statements to create a shopping list table and enum
DROP TYPE IF EXISTS grocery;
CREATE TYPE grocery AS ENUM (
'Main',
'Snack',
'Lunch',
'Breakfast'
);
CREATE TABLE IF NOT EXISTS shopping_list (
id INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,