Skip to content

Instantly share code, notes, and snippets.

@toamitkumar
Created March 30, 2012 01:37
Show Gist options
  • Save toamitkumar/2245609 to your computer and use it in GitHub Desktop.
Save toamitkumar/2245609 to your computer and use it in GitHub Desktop.
Deolina D
Day 1:
GetTweets
1.
var n = $('<li />').appendTo(tweetList).text(feed[i].text);
# 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.
2.
Always create a CSS file, inline styles are not best practice.
Day 2:
validate.html
1.
Inline JS is not best practice. Create a JS file and include it.
autocomplete.html
Excellent !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment