.row .col-xs-12.col-sm-3 span a.btn.btn-primary.btn-big.btn-block.btn-responsive(href='/stories/submit' class="#{ page === 'hot' ? '' : 'hidden' }") Submit span a.btn.btn-success.btn-big.btn-block.btn-responsive(href='/news/' class="#{ (page !== 'hot') ? '' : 'hidden' }") All .visible-xs .button-spacer .col-xs-12.col-sm-9 .input-group input#searchArea.big-text-field.field-responsive.form-control(type='text', placeholder='Search our links') span.input-group-btn button#searchbutton.btn.btn-big.btn-primary.btn-responsive(type='button') Search .spacer .row .col-xs-12.col-sm-8.col-sm-offset-2.well h4.text-center Which other free resources do you use? img.img-responsive(src='https://www.evernote.com/l/AHRNhlwViM1Kh5qCm6iy7MSWrbdyxYbRkWkB/image.png') p Link us to your favorite free coding resources. p Use the headline: "Awesome Free Resource: (the name of the book, podcast, or video series)". We'll publish a list of the 25 most-upvoted resources (and the campers who submitted them) in Wednesday's blog post, and in an upcoming Field Guide article. Also - as always - you'll get 1 point every time someone upvotes your post. .spacer #search-results .spacer #story-list ul#stories script. $('#searchArea').keypress(function (event) { if (event.keyCode === 13 || event.which === 13) { executeSearch(); $('#searchArea').focus(); event.preventDefault(); } }); $('#searchbutton').on('click', function () { executeSearch(); }); function executeSearch() { $('#stories').empty(); var searchTerm = $('#searchArea').val(); var getLinkedName = function getLinkedName(name) { return name.toLowerCase().replace(/\s/g, '-'); } $.post('/stories/search', { data: { searchValue: searchTerm } }) .fail(function (xhr, textStatus, errorThrown) { $('#search-results').empty(); var div = document.createElement("div"); $(div).html("