I hereby claim:
- I am mikebranski on github.
- I am mikebranski (https://keybase.io/mikebranski) on keybase.
- I have a public key whose fingerprint is 9434 DC44 7F8E AF2D 85E0 6761 5BB1 7E64 056B 00F6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Create a new JS Bin and solve each challenge, then send it to your mentor for review.
DO NOT leave your answers as comments here.
// Bloc Frontend Foundation | |
// Checkpoint 11 Assignment Instructions | |
// | |
// Add an event listener to the album cover. When a user clicks it, the album | |
// page content should toggle between the three album objects: albumPicasso, | |
// albumMarconi, and your album object. | |
// | |
// Okay, I know I'll need a click handler on the big album cover image, so I'll | |
// start there. The click handler will be very simple to confirm it's working. |
// Super swanky pseudo-code that prevents customers like me from losing their support message | |
// when they fat finger the wrong button and navigate away before they're done. | |
// Making some assumptions about Simple's code. :D | |
var Simple = Simple || {}; | |
Simple.confirmLeavingSupportMessage = "Hold up! You'll lose what you started typing if you leave."; | |
// Checks if the customer has started typing a message to support. | |
Simple.hasDirtySupportMessageField = function() { |
/** | |
* This Google Sheets script keeps data in the specified column sorted any time | |
* the data changes. | |
* | |
* After much research, there wasn't an easy way to automatically keep a column | |
* sorted in Google Sheets, and creating a second sheet to act as a "view" to | |
* my primary one in order to achieve that was not an option. Instead, I | |
* created a script that watches for when a cell is edited and triggers | |
* an auto sort. | |
* |
# Quick shortcut to the specified editor ($EDITOR). | |
# Adapted from @holman's .dotfiles. | |
# | |
# To install: | |
# Copy script to $ZSH/custom/plugins/editor/editor.plugin.zsh | |
# Add `editor` to the list of plugins included by oh-my-zsh | |
# | |
# If you're not using oh-my-zsh, you can just drop this in your shell profile | |
# (e.g. ~/.zshrc, ~/.bash_profile, etc) | |
# |
<!-- INCORRECT --> | |
<ul> | |
<li>First bulleted item</li> | |
<li>Second bulleted item</li> | |
<ol> | |
<li>First nested number</li> | |
</ol> | |
</ul> | |
<!-- CORRECT --> |
$(document).ready(function() { | |
/* | |
* Original | |
*/ | |
$(".sliderContent").addClass("overflowSliderContent"); | |
$(".sliderContent").children().addClass("hiddenSliderContent"); | |
$(".sliderContent").each(function(i) { $($(this).children().get(0)).removeClass("hiddenSliderContent"); }); | |