This file contains 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 characters
const express = require('express'); | |
const app = express(); | |
app.get('/echo/:what', function(req, res){ | |
res.json({ | |
host: req.hostname, | |
query: req.query, | |
params: req.params | |
}); | |
}); |
This file contains 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 characters
'use strict'; | |
const express = require('express'); | |
const app = express(); | |
app.get('/', function (req, res) { | |
res.json (`There's a ${req.query.adjective1} new ${req.query.name} in ${req.query.place} and everyone's talking. Stunningly ${req.query.adjective2} and ${req.query.adverb} ${req.query.adjective3}, all the cool kids know it. However, ${req.query.name} has a secret - ${req.query.name}'s a vile vampire. Will it end with a bite, or with a stake through the ${req.query.noun}?` | |
)}); | |
// listen for requests |
This file contains 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 characters
Echo endpoint exercise - Wade & Robert | |
https://gist.github.com/RobertVFrazier/91ef8a53f4ba5aa71436e719bdba6c4a | |
Mad lib generator - Wade & Robert | |
https://gist.github.com/RobertVFrazier/7b4ae90e950d71ac218d371531c46303 |
This file contains 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 characters
Navigation bar | |
https://glitch.com/edit/#!/alive-pancreas?path=src/components/navigation-bar.css:10:60 | |
Address book | |
https://glitch.com/edit/#!/unruly-repair?path=src/components/contact.js:14:4 |
This file contains 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 characters
Surprise! | |
https://glitch.com/edit/#!/steel-whistle?path=src/components/surprise.js:28:0 | |
Hourly rate calculator | |
https://glitch.com/edit/#!/robust-broker?path=src/components/rate-calculator.js:1:0 | |
Live Search | |
https://glitch.com/edit/#!/peach-hardcover?path=src/components/character-list.js:9:5 |
This file contains 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 characters
i18n state | |
https://glitch.com/edit/#!/common-sneeze | |
CRUD reducer | |
https://glitch.com/edit/#!/treasure-beat |
This file contains 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 characters
Interest calculator I: Connecting | |
https://glitch.com/edit/#!/striped-epoch | |
Interest calculator II: Dispatching | |
https://glitch.com/edit/#!/sore-drifter |
This file contains 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 characters
Make student reports | |
https://repl.it/@Robert_Frazier/Make-student-reports-drill | |
Enroll in summer school | |
https://repl.it/@Robert_Frazier/Enroll-in-summer-school-drill | |
Find by id | |
https://repl.it/@Robert_Frazier/find-by-id-drill | |
Validate object keys |
This file contains 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 characters
Link for github repository: https://github.com/RobertVFrazier/Quiz-program | |
Link for the web page hosted on github: https://robertvfrazier.github.io/Quiz-program/ |
This file contains 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 characters
I will use the Flickr API to convert text strings into a series of photographs of letters, similar in appearance to a ransom note. | |
I found an example of doing this, and I think it would be interesting to figure out how to do it myself in Jquery instead of PHP, | |
with a better user interface, and fixing the punctuation bugs I found when I tested it. | |
The user will enter a text string into a field, then click a button to submit it. A lightbox will pop up, displaying each character | |
(letter, numeral, or punctuation) as a photograph inside a square box. Clicking on any of the boxes will get a new, random photograph | |
of the same character. There will be a button labeled "X" in the upper-right corner of the lightbox; clicking this will close the | |
lightbox and return focus to the text input field. |
OlderNewer