- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.
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
| <tr> | |
| <td align="center" valign="top"><table align="center" width="600" border="0" cellspacing="0" cellpadding="0" class="em_main_table" style="width:600px;"> | |
| <tr> | |
| <td align="center" valign="top"><table width="600" border="0" cellspacing="0" cellpadding="0" align="center" class="em_wrapper" style="width:600px;"> | |
| <tbody> | |
| <tr> | |
| <td align="center" valign="top"><table width="312" border="0" cellspacing="0" cellpadding="0" align="left" style="width:312px; background-color:#efefef;" bgcolor="#efefef" class="em_wrapper"> | |
| <tr> | |
| <td class="em_side" width="29" style="width:29px; font-size:0px; line-height:0px;"> </td> | |
| <td class="em_hauto" align="center" valign="top" height="468" style="height:468px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> |
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
| @font-face { | |
| font-family: "FoundersGrotesk"; | |
| src: url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.eot"); | |
| src: url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.eot?#iefix") format("embedded-opentype"), | |
| url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.woff2") format("woff2"), | |
| url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.woff") format("woff"); | |
| font-style: normal; | |
| font-weight: 300; | |
| } |
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
| export PATH=/usr/local/bin:$PATH | |
| export PATH="$HOME/.node/bin:$PATH" | |
| export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.5/bin | |
| # echo is like puts for bash (bash is the program running in your terminal) | |
| echo "Loading ~/.bash_profile a shell script that runs in every new terminal you open" |
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
| // Shorthand for $(document).ready(); | |
| $(function(){ | |
| // Your code goes here... | |
| }); |
- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.
- https://github.com/Uzmani/lucky_ajax_chusman
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
| /* Here is your chance to take over Socrates! | |
| Spend 10 minutes on each of the following hacks to the Socrates website. | |
| Enter them in the console to make sure it works and then save | |
| your results here. | |
| Choose a new pair for each. Add your names to the section you complete. | |
| */ |
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
| // shorthand for $(document).ready(); | |
| $(function(){ | |
| //Your code... | |
| }); |
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
| // shorthand for $(document).ready(); | |
| $(function(){ | |
| $('button').on('click', function(event) { | |
| event.preventDefault(); | |
| $('#errors li').remove(); | |
| var email = $('input[name="email"]').val(); | |
| var password = $('input[name="password"]').val(); |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css"> | |
| <link rel="stylesheet" href="main.css"> | |
| <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800"> | |
| <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900"> | |
| <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"> | |
| </head> |
NewerOlder