Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<style type="text/css">
#main { padding: 100px; border: 2px solid pink; }
.blue { background-color: blue; }
</style>
</head>
<body>
<div id="main">Lorem ipsum dolor!</div>
<script type="text/javascript">
@RaHughes
RaHughes / something.md
Last active August 26, 2019 17:26
JQUERY Selectors

The Selector

  1. How do you select HTML elements using element names, ID, or class? The syntax looks like this
$("[Class or Tag here]").[Property Here]("[Altered Value Here]");
  1. What are the different ways to chain selectors? For instance, how would you select an element that has a class of “bordered-content” AND “ad-aside”?

Session 4 Practice Tasks

The assignments listed here should take you between 1.5 and 2 total hours.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Introduction

Git is what's called a Version Control System that allows users to track of changes to files and projects over time. Many different companies use Git such as Amazon, and Facebook. Git allows multiple users to track, change, and upload to a project from different locations.

Time for some Lists

What does Git allow users to do again?

  1. Make changes, or Commits to a project.
  2. Push those commits to the repository on Github
  3. Other users can then pull those commits from Github onto their computers