Skip to content

Instantly share code, notes, and snippets.

View markLaughlin's full-sized avatar

Mark Laughlin markLaughlin

View GitHub Profile
@markLaughlin
markLaughlin / gist:f0820656ed69a4db47906091e22a56c5
Last active April 10, 2019 16:50
Wireframe Your Quiz App Assigment
Links to back of napkin designs:
https://docs.google.com/drawings/d/1xViu5PqS9NQvS1RAZH80yoBO-iW4iAQenaWyXLDiVLU/edit?usp=sharing
https://docs.google.com/drawings/d/18uLbY_r5Qyn040IGm76THLSRkiAyU9BJw2AJdRYd3qc/edit?usp=sharing
Links to wireframes live:
https://marklaughlin.github.io/one/
https://marklaughlin.github.io/two/
Links to wireframes repos:
https://github.com/markLaughlin/one
@markLaughlin
markLaughlin / gist:6ec6c9ce06ddfc32c75d1fb1d29a9b2d
Last active April 9, 2019 15:30
Reading API Documentation Checkpoing
1) Required parameter: part;
Data type: string
Example of allowed Values: contentDetails
2) Statue of Liberty:
https://maps.googleapis.com/maps/api/geocode/json?address=Statue+of+Liberty+National+Monument,+New+York,+NY&key=REQUESTER'S_API_KEY
My address:https://maps.googleapis.com/maps/api/geocode/json?address=617+West+Green,+Champaign+,+IL&key=REQUESTER'S_API_KEY
3) - This server requires authentication.
@markLaughlin
markLaughlin / gist:8ced3936cb9671991a4bde097bf530b7
Last active April 7, 2019 02:07
How Web Apps Work Assignment
Question: Write an analogy to describe the relationship between clients and servers.
Answer: I'm thinking of the clients as being like customers in a restaurant and the servers being the cooks in the kitchen. The customers are sending requests via waiters, which are then processed by the cooks in the kitchen and sent back as responses. The request/response cycle goes on for the course of the meal as clients ask for appetizers, then entrees, etc. and those items are sent back from the kitchen.
Diagram of the request/response cycle:
https://docs.google.com/drawings/d/1adsGCsKBS5iBkLceBDskrhzyngbEb14HdSeRAVKNX60/edit?usp=sharing
Repo:
https://github.com/markLaughlin/portfolioMLaughlin
Webpage:
https://marklaughlin.github.io/portfolioMLaughlin/
Thanks,
Mark Laughlin
@markLaughlin
markLaughlin / gist:547ff6e20a7b82f7236b53a80dfb0efc
Created April 4, 2019 16:18
Portfolio Layout for Mark Laughlin
Below is a link to the Google Doc:
https://docs.google.com/document/d/1SRYyzN6WX_hgu17OBmaflZywVZK-qf5gwTOkBRJlMUA/edit
Bio:
Hello! My name is Mark. I'm a full-stack web develper.
I'm a web developer based in Champaign, Illinois who is freshly graduated from Bloc coding academy. What motivates me about technology in general and coding in particular is finding out how things work; when you're stuck on a problem then get unstuck through your own efforts, it's a great feeling. I do well with HTML, CSS, JavaScript and jQueary, and as a developer, I'm always developing.
When not at my laptop, I like to to play the piano, hike, bike and eat ice cream. I'm hoping to get my pet Chihuahua to obey me one day.
Contact information:
Here is the repository:
https://github.com/markLaughlin/quizApp
Here is the url:
https://marklaughlin.github.io/quizApp/
Thanks,
Mark Laughlin
Here is the repo:
https://github.com/markLaughlin/quiz-project
Here is the project url:
https://marklaughlin.github.io/quiz-project/
@markLaughlin
markLaughlin / gist:85012d6d989a7a013c75507ee2e1a913
Last active March 31, 2019 22:06
"Shopping List: Render the List" Checkpoint Exercise
ADD ITEMS:
Create a function that binds the action of the form with the id "#js-shopping-list-form" being submitted to a function.
This function will assign the value inside the input box with id ""#shopping-list-entry" to a variable name.
This variable will be used to create an entirely new <ls> element to eventually be added into the DOM.
CHECK/UNCHECK ITEMS:
I am seeing ways of embedding the jQuery requests directly into the html file rather than having them on a seperate .js file. Which way is better?
jQuery seems like a shortcut. Would it perhaps be better to learn how to code everything in JavaScript first?
In a directory with an .html file, a .css file and a .js file, which file is being compiled first, the .css file or the .js file?
The following part of a jQuery event seems to have the wrong syntax with parentheses. Why is that? $(".jsClicker").click.function(event){ }
How does qQuery work with form elements?