Skip to content

Instantly share code, notes, and snippets.

Jerry Jones jeryj

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am jeryj on github.
  • I am juryjowns (https://keybase.io/juryjowns) on keybase.
  • I have a public key ASAzIImcookBeq_qTrQT0UFQGlfU3xkhfeOhOAF1HptjDwo

To claim this, I am signing this object:

View bloc-frontend-mentor-assessment--jerry.mdown

Javascript Fundamentals Answer

Hey!

I don't know how many times I've been up late at night stuck on a problem. That may be step one in becoming a front-end developer :)

You're definitely on the right track here. Your prizes array (the ['A Unicorn!', 'A Hug!', 'Fresh Laundry!'] part) is set-up correctly and you have the structure of the "for" loop right. That's no small feat, so feel good about that one!

Before we get into this, know that this is a problem that every front-end developer has struggled with before. The answer lies in learning about Scope and Closure. It's a tricky little problem, and I'll explain it fully later in this email.

@jeryj
jeryj / voiceover-tabindex-landmarks.html
Last active Aug 23, 2016
Adding Tabindex Value to HTML5 Vaguely Semantic Element adds it to the Landmarks and Form Controls lists in VoiceOver Rotor
View voiceover-tabindex-landmarks.html
<main>
<section>
<h2>This will not appear in the Rotor under Landmarks or Form Controls</h2>
<p>This is the expected behavior.</p>
</section>
<article>
<h2>This article will not appear in the Rotor under Landmarks or Form Controls</h2>
<p>I'm surprised that it appears under Landmarks when you add a tabindex value. It happens for values of 0 or -1, and likely for other values too.</p>
</article>
@jeryj
jeryj / BJCP-beer.json
Created Apr 16, 2016
BJCP 2015 Guidelines for Beer in JSON Format
View BJCP-beer.json
[{"id":"1","name":"Standard American Beer","notes":"This category describes everyday American beers that have a wide public appeal. Containing both ales and lagers, the beers of this category are not typically complex, and have smooth, accessible flavors. The ales tend to have lager-like qualities, or are designed to appeal to mass-market lager drinkers as crossover beers. Mass-market beers with a more international appeal or origin are described in the International Lager category.","subcategory":[{"id":"1A","name":"American Light Lager","impression":"Highly carbonated, very light-bodied, nearly flavorless lager designed to be consumed very cold. Very refreshing and thirst quenching.","aroma":"Low to no malt aroma, although it can be perceived as grainy, sweet, or corn-like if present. Hop aroma is light to none, with a spicy or floral hop character if present. While a clean fermentation character is desirable, a light amount of yeast character (particularly a light apple fruitiness) is not a fault. Light DM
@jeryj
jeryj / Logo Design for a Friend Contract.mdown
Last active Sep 1, 2015
When you work with friends, you still need a contract, but it doesn't have to be complex. Here's a casual, but binding contract so your friend values and understands the work you're doing.
View Logo Design for a Friend Contract.mdown

Contracts can be awful, or they can be simple, reasonable, understandable, and intended to bring better clarity and focus to a project. This is the latter.

Who

Designer: [DESIGNER'S NAME] aka “I” or “Me” Email: [DESIGNER'S EMAIL ADDRESS]

Client: [ORGANIZATION'S NAME] aka “You” or “Your” Represented by: [PERSON'S NAME - Remove this line if Client is a person]

You can’t perform that action at this time.