Skip to content

Commit

Permalink
added facebook like and comment plugin for html
Browse files Browse the repository at this point in the history
  • Loading branch information
khan4019 committed Jan 6, 2014
1 parent e6616f7 commit fbc9fce
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions html.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h1>html</h1>
<h2>HTML related interview questions</h2>
<p>For Javascript developer to have some idea about html to impress interviewer..</p>
<p>January 01, 2014</p>
<div class="g-plusone"></div>
<div id="fb-root"></div><div class="fb-like" data-href="http://www.thatjsdude.com/interview/css.html" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> &nbsp;<div class="g-plusone"></div>
</div>
</div>
<div class="container">
Expand Down Expand Up @@ -226,7 +226,11 @@ <h2>15. semantic</h2>
<h2>Need more!</h2>
read: <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5?redirectlocale=en-US&redirectslug=HTML%2FHTML5">HTML5</a>
</div>

<div>
<h3 class="purpleBold">Express anger!</h3>
<p class="gray">Feel free to express your anger (sorry u have to use facebook). also find out mistakes ( technical, wrong answer, spelling, grammar, sentence, whatever), let ur dude learn and grow.</p>
<div class="fb-comments" data-href="http://www.thatjsdude.com/interview/css.html" data-numposts="5" data-colorscheme="light"></div>
</div>
<hr>

<footer>
Expand All @@ -243,11 +247,20 @@ <h2>Need more!</h2>
<script src="js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script type="text/javascript">
//g+
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/platform.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
//fb
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</body>
</html>

0 comments on commit fbc9fce

Please sign in to comment.