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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="timeoutLoop"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
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
fullName fName lName = fName ++ " " ++ lName | |
//<function> : String -> String -> String | |
fullName "Jesse" | |
//<function> : String -> String | |
lastName = fullName "Jesse" | |
//<function> : String -> String | |
lastName "Tomchak" |
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
The 1st argument to function `append` is causing a mismatch. | |
5| List.append "black" fishes | |
^^^^^^^ | |
Function `append` is expecting the 1st argument to be: | |
List a | |
But it is: |
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
> me = { name = "Jesse", age = 36, beard=True} | |
{ name = "Jesse", age = 36, beard = True } | |
: { age : number, beard : Bool, name : String } | |
> meShaved = { me | beard=False } | |
{ name = "Jesse", age = 36, beard = False } | |
: { age : number, name : String, beard : Bool } | |
> me | |
{ name = "Jesse", age = 36, beard = True } | |
: { age : number, name : String, beard : Bool } | |
> meShaved |
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
--starman super game | |
starman :: String -> Int -> IO () | |
starman word n = turn word ['-' | x <- word] n | |
--checking the guessed letter against the word | |
check :: String -> String -> Char -> (Bool, String) | |
check word display c = | |
( c `elem` word | |
, [ if x == c | |
then c |
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
window.onload = function() { | |
console.log("OH SNAP, Kittens!!!!"); | |
let searchButton = document.getElementById("searchButton"); | |
let searchInput = document.getElementById("searchInput"); | |
let meowImage = document.getElementById("randomGliphImage"); | |
searchButton.addEventListener("click", fetchGiphy); | |
function fetchGiphy() { | |
//Go get the kitten stuff meow!! |
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
<body> | |
<div class="box"> | |
<div class="box-content"> | |
<h3 id="teams"></h3> | |
<ul id="sports-teams"></ul> | |
</div> | |
</div> | |
</body> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Kissy Movies</title> | |
</head> |
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
import "jquery"; | |
import "./style.scss"; | |
$(document).ready(function() { | |
console.log("I am working with jQuery. Sweet!!!!"); | |
let moviesList = []; | |
//Get Movies HTTP request! | |
const getMovies = () => { | |
const movieURL = |
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
import "jquery"; | |
import "./style.scss"; | |
$(document).ready(function() { | |
console.log("I am working with jQuery. Sweet!!!!"); | |
let moviesList = []; | |
//Get Movies HTTP request! | |
const getMovies = () => { | |
const movieURL = |
OlderNewer