This file contains hidden or 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
| $('#birthdayBtn').on('click', function(){ | |
| var month = $('#birth_month').val(); | |
| switch (month){ | |
| case 'January': | |
| month = 1; | |
| break; | |
| case 'February': | |
| month = 2; | |
| break; | |
| case 'March': |
This file contains hidden or 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
| #pageGoalSettingPlan.page | |
| .content | |
| .col-xs-6 | |
| h4 Goal Setting Plan | |
| br | |
| input(type='text', class='form-control', placeholder='Free Text') | |
| input(type='text', class='form-control', placeholder='Free Text') | |
| input(type='text', class='form-control', placeholder='Free Text') | |
| input(type='text', class='form-control', placeholder='Free Text') | |
| input(type='text', class='form-control', placeholder='Free Text') |
This file contains hidden or 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
| label.radio-inline | |
| input(type='radio', class='radioSpans', id='confidence1', value='option1', name='confidence') | |
| span 1 | |
| label.radio-inline | |
| input(type='radio', class='radioSpans', id='confidence2', value='option2', name='confidence') | |
| span 2 | |
| label.radio-inline | |
| input(type='radio', class='radioSpans', id='confidence3', value='option3', name='confidence') | |
| span 3 |
This file contains hidden or 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
| include ./goalsetting/pageGoalSettingPlan |
This file contains hidden or 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
| input#remember(type='checkbox', name='remember', checked=true) | |
| span Remember Me |
This file contains hidden or 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
| (item.price).toFixed(2) | |
| //or more specifically: | |
| html += '<div class="price">$' + (item.price).toFixed(2) + '</div>' |
This file contains hidden or 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
| // First method - Recommended | |
| $('#checkbox').prop('checked') // Boolean true |
This file contains hidden or 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
| $("#btnSubmitPayment").on "click", -> # clicking button to submit payment | |
| shirt = $("input[name=shirt]:checked").attr("data-id") # grabbing size of shirt selected | |
| alert shirt # alerting shirt size to check that it's getting correct values | |
This file contains hidden or 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
| Create a local .gitignore | |
| If you create a file in your repository named .gitignore, Git uses it to determine which files and directories to ignore, before you make a commit. | |
| A .gitignore file should be committed into your repository, in order to share the ignore rules with any other users that clone the repository. | |
| GitHub maintains an official list of recommended .gitignore files for many popular operating systems, environments, and languages in the github/gitignore public repository. | |
| In Terminal, navigate to the location of your Git repository. | |
| Enter: touch .gitignore to create a .gitignore file. |
This file contains hidden or 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
| $("#searchloading").html("<img src='/assets/loader.gif' alt='loading...' />"); | |
| // then: | |
| $("#searchloading").css("display", "none"); |