Skip to content

Instantly share code, notes, and snippets.

View kristenburgess25's full-sized avatar

Kristen Burgess kristenburgess25

View GitHub Profile
@kristenburgess25
kristenburgess25 / gist:704c0a0e1f8f8a507e9cc24e3550e1e2
Last active August 29, 2016 13:29
Kristen Layout Challenges 8-29-16
Challenge 1

Floated div 1 to the left. Put divs 2 and 3 into a container and set their display as inline block, so that they can be contained in the same line/block. Floated the container with divs 2 and 3 to the right. Challenge 1

Challenge 2

Challenge 2 Since none of these boxes need to move out of their natural blocks in the page flow, aligning them can be accompilshed simply using margins to push div 1 all the way to the left, div 2 directly centered, and to push div 3 all the way to the right.

Challenge 3

Challenge 3

@kristenburgess25
kristenburgess25 / KBaccessbilitycommitments.md
Created October 3, 2016 17:08
3 Accessibility Commitments -

Pages/Apps that don't require the mouse

I want my next projects to be accessbile without using a mouse/pointer. They can be fully navigated using keyboard commands/tabbing. I think this is something that should really become a key focus in the development world; there is no reason for those of us that rely so heavily on our keyboards to not write code that allows others to work/play on the web without the use of a mouse.

Code that is easily handled by a screen reader

I want to be conscientous of writing HTML and CSS that is easily deciphered by screen readers. Using alt text is something that I have not put much emphasis on before, but I would like to now.

Interact with text without a keyboard

###git stash
Records the current state of the working directory and the index, but want to go back to a clean working directory. The command saves your local modifications away and reverts the working directory to match the HEAD commit.
###git stash apply
Run git stash save (or plain git stash , same thing). Check out the other branch and use git stash apply . ... You can in fact git stash save again, as git stash makes a "stack" of changes. If you do that you have two stashes, one just called stash —but you can also write stash@{0} —and one spelled stash@{1}
###git shortlog
Summarizes git log output in a format suitable for inclusion in release announcements. Each commit will be grouped by author and title.
If no revisions are passed on the command line and either standard input is not a terminal or there is no current branch, git shortlog will output a summary of the log read from standard input, without reference to the current repository.