Skip to content

Instantly share code, notes, and snippets.

@toamitkumar
Created March 30, 2012 02:03
Show Gist options
  • Save toamitkumar/2245761 to your computer and use it in GitHub Desktop.
Save toamitkumar/2245761 to your computer and use it in GitHub Desktop.
GopinathS
Day 1:
twitt.html (or tweet.html, probably a typo)
1.
Always try to use small case for 'id' attributes. Standard coding practice
2.
Inline CSS and JS is bad practice. Always create files and include them.
3.
$("#add_tweets").append("<li>" + feed[i].text + "</li>");
# This will add "li" to the DOM inside loop. Not good for performance.
# Its better to build a string inside a loop and add the whole string to the DOM outside of loop.
Day 2:
Validation/example.html
Excellent !
autocomplete.html
Excellent !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment