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
// Adding Aria Label - Linking Specific Content | |
<a href="#special-category-children-privacy" aria-label="Jump to section on Processing Special Category Data and Children’s Privacy">Processing Special Category Data and Children’s Privacy</a> | |
// Adding Aria Label - Phone Number | |
<a href="tel:+18888992253" aria-label="Call us at one eight eight eight eight nine nine two two five three">1-888-899-2253</a> | |
// Adding Aria Label - Email | |
<a href="mailto:sbinfo@stbaldricks.org" aria-label="Email St. Baldrick\'s Foundation">sbinfo@stbaldricks.org</a> |
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
/* This is our form submit function we utilize to process creditcard donations. Inside of the try/catch we make two calls | |
to two braintree methods .create and .request | |
1. submit() function in the try/catch calls the two braintree methods .create / .request | |
2. create() method is called inside braintreeClient promise and we pass in window.gon.braintree_token as the parameter | |
required by the create method for the authorization property | |
3. After create() function returns the value we pass that value as a parameter into braintreeCCRequest which calls the braintree | |
request method. |
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
.block { | |
/* BOX-MODEL */ | |
margin: 0; | |
padding: 0; | |
width: 0; | |
height: 0; | |
display: block; | |
/* POSITIONING */ | |
position: absolute; |
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
# Primitive Data Types | |
Strings and numbers are known as primitive data types. Primitive data types are basically the smallest building blocks for Ruby programs. | |
Primitive data types define the characteristics of values. | |
#Boolean | |
Booleans are a primitive data type, just like Strings and Numbers. Booleans can have two values: true or false |