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 characters
We learned | |
const allCoffees = require('./data/allCoffees.json') | |
// console.log('this is my list of coffees', coffees) | |
exports.getCoffees = (name) => { | |
allCoffees.forEach((recipe) => { | |
if ( | |
recipe.ingredients.includes('Milk') || | |
recipe.ingredients.includes('Cream') || |
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 characters
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Web Portfolio of Kevin</title> | |
</head> | |
<body> | |
<div className="App" align=center> | |
<h1>I am Kevin Choi</h1> | |
<h2>Full Stack Developer</h2> | |
<h4>This is my mini resume</h4> |
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 characters
class UrlParser | |
attr_reader :scheme, :fragment_id, :query_string, :path, :port, :domain | |
def initialize(url) | |
@scheme = url.split(':/')[0] | |
unless url.split('#').length == 1 | |
@fragment_id = url.split('#')[-1] | |
url = url.chomp! '#' + @fragment_id | |
end |