-
cd
(changes directory) -
cd ~
(changes to home directory) -
cd ..
(moves up one directory) -
ls
(lists files in folder)
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
<!-- Activity 1: Basic HTML Bio --> | |
<!DOCTYPE html> | |
<html lang="en-us"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Activity 1: Basic HTML Bio</title> | |
</head> |
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 class more than id | |
bkground images load slow |
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
<!-- CSS Stylesheets with Relative Paths --> | |
<!DOCTYPE html> | |
<html lang="en-us"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>CSS Stylesheets with Relative Paths</title> | |
<!-- This line is money! It points your HTML to the CSS file. --> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Title Text</title> | |
<link rel="stylesheet" href="[PATH or URL]"> | |
</head> | |
<body> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Quoth the Giphy</title> | |
</head> | |
<body> | |
<div id="buttons"> |
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
Button Data doesn't have to equal text of button. | |
<button data-animal="cat">meow</button> | |
<button data-animal="dog">woof</button> | |
<button data-animal="bird">chirp</button> |
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
GET / users (index or collection route) | |
GET /users/:id (instance or member route) | |
POST /users (params in request body) | |
PUT /users/:id (params in request body) | |
PATCH /users/:id (params in request body) | |
DELET /users/:id |
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
$(".deleteButton").on("click", function(event){ | |
event.preventDefault(); | |
$.ajax({ | |
url: '/api/users/'+pulled_from_input_field, | |
type: 'DELETE' | |
success: function(data) { | |
console.log('user' + pulled_from_input_field + 'sucessfully deleted') | |
} | |
}) | |
}) |
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
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin master |
OlderNewer