get help in general - we have more specialized help rooms here: https://gitter.im/FreeCodeCamp/home
var temples = ['abc', 'def','xyz'];
// taking imput from keyup
$('#input').keyup(function() {
var input = $('#input').val();
$('input#input').autocomplete("enable");
$('input#input').autocomplete("search", input);
$('li').addClass("list-group-item");
});
// using jqury-ui to get autocomplete for input
$('input#input').autocomplete({
max: 10,
minLength: 0,
source: temples,
messages: {
noResults: '',
results: function() {}
},
autoFocus: true,
select: function(event, ui) {
$('.input_selected_value').val(ui.item.value);
location.href = "/" + ui.item.value;
event.preventDefault();
},
close: function(el) {
el.target.value = '';
}
});
});
Need help!
https://codepen.io/SL0TR/pen/aLjyJz?editors=0111
When I'm adding an attribute(id) with JavaScript on the canvas tag it isn't showing up.
But if it's put manually then it shows
heroiczero sends brownie points to @thekholm80 and @manish-giri and @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 1506 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:star2: 2125 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 6648 | @manish-giri |http://www.freecodecamp.com/manish-giri
setTimeout
before the click
playerTurn=false;
after the player takes his turn and playerTurn=true;
after the computer takes his turn
$("#blue").click(function() {
if (!playerTurn) return;
$("#blue").addClass("blueActive");
audioBlue.play();
playerSeq.push(1);
setTimeout(function() {
$("#blue").removeClass("blueActive");
}, 250);
checkCorrect();
});
:cookie: 382 | @daddycardona |http://www.freecodecamp.com/daddycardona
heroiczero sends brownie points to @daddycardona and @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8545 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
petterandre sends brownie points to @heroiczero and @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 1874 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 8546 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
heroiczero sends brownie points to @tiagocorreiaalmeida :sparkles: :thumbsup: :sparkles:
:cookie: 392 | @tiagocorreiaalmeida |http://www.freecodecamp.com/tiagocorreiaalmeida
Hey guys.. Can u help me get the title and caption to come up a few lines on this site?
https://www.rosalievillagebarber.com
So far Ive used inspect and copied the selector it shows me for the caption but the thing just wont move!
Heres my code so far:
#main-slider > div.bx-wrapper > div.bx-viewport > div > div:nth-child(1) > div.slider-caption{padding-top:-30rem;}
So can you get the title and caption to move up the page?
Cheers
darrenfj sends brownie points to @thekholm80 and @sjames1958gm and @heroiczero and @daddycardona and @manish-giri :sparkles: :thumbsup: :sparkles:
:cookie: 384 | @daddycardona |http://www.freecodecamp.com/daddycardona
:star2: 1507 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:star2: 8549 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
:star2: 1875 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 6649 | @manish-giri |http://www.freecodecamp.com/manish-giri
darrenfj sends brownie points to @khaduch and @github-henry and @gersho :sparkles: :thumbsup: :sparkles:
:cookie: 387 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 3364 | @khaduch |http://www.freecodecamp.com/khaduch
:cookie: 538 | @gersho |http://www.freecodecamp.com/gersho
and @Manish-Giri that dark theme you posted? that stackoverflow?
such dark
much wow
thekholm80 sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2126 | @darrenfj |http://www.freecodecamp.com/darrenfj
github-henry sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2127 | @darrenfj |http://www.freecodecamp.com/darrenfj