Hi everyone! I'm having trouble to finish polishing my pomodoro zipline, could anyone help me? I just don't get why my pomodoro's timer handler doesn't adds up minutes. Here's my pen:
djangoearnhardt sends brownie points to @fattone225 :sparkles: :thumbsup: :sparkles:
:cookie: 382 | @fattone225 |http://www.freecodecamp.com/fattone225
c0d0er sends brownie points to @elrodrigote :sparkles: :thumbsup: :sparkles:
:cookie: 299 | @elrodrigote |http://www.freecodecamp.com/elrodrigote
c0d0er sends brownie points to @elrodrigote :sparkles: :thumbsup: :sparkles:
:warning: c0d0er already gave elrodrigote points
Math.floor((t / 1000) % 60); //seconds
Math.floor((t / 1000 / 60) % 60); //minutes
Math.floor((t / (1000 60 60)) % 24); //hours
c0d0er sends brownie points to @gofighting123 :sparkles: :thumbsup: :sparkles:
:cookie: 311 | @gofighting123 |http://www.freecodecamp.com/gofighting123
c0d0er sends brownie points to @elrodrigote :sparkles: :thumbsup: :sparkles:
:warning: c0d0er already gave elrodrigote points
<script src='https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js'></script>
to add jquery ui causes error? how could i correctly add jquery ui with script tag?
jquery-ui.js:14 Uncaught ReferenceError: jQuery is not defined(…)
<link rel="stylesheet" href="jquery-ui.min.css">
<script src="external/jquery/jquery.js"></script>
<script src="jquery-ui.min.js"></script>
<script src="https://code.jquery.com/jquery-3.1.1.slim.js"></script>
<link rel="stylesheet"
?
c0d0er sends brownie points to @coffeebeanzz and @dyczol :sparkles: :thumbsup: :sparkles:
:cookie: 282 | @dyczol |http://www.freecodecamp.com/dyczol
:star2: 1250 | @coffeebeanzz |http://www.freecodecamp.com/coffeebeanzz
c0d0er sends brownie points to @walidashri :sparkles: :thumbsup: :sparkles:
:cookie: 584 | @walidashri |http://www.freecodecamp.com/walidashri
@NitinNair89 so where are you in the challanges did you complete javascript
@atharvajava Sorry I wasn't online. I am stuck at the Number to Roman challenge :(
min-width: 250px
to #calculadora
selector
gastikirs sends brownie points to @marzelin :sparkles: :thumbsup: :sparkles:
:cookie: 905 | @marzelin |http://www.freecodecamp.com/marzelin
bmcelroy19827 sends brownie points to @robertb4 :sparkles: :thumbsup: :sparkles:
:cookie: 117 | @robertb4 |http://www.freecodecamp.com/robertb4
row
grid system like col-sm-12
and col-offset-sm-4
it will help you in long run
#bg {
position: fixed;
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
}
.main-div{
z-index: 1;
margin: 0 auto;
}
main-div
in another div ,and then use flexbox or inline-block with text-align
<div class = "container-fluid text-center main-div" >
<div class="row">
<div class="col-sm-3 col-md-3 cl-lg-3"></div>
<div class="col-sm-6 col-md-6 col-lg-6">
<h1>Random Quote Machine</h1>
<div class="well">
<span id = "quote"></span>
<br>
<span id = "author"></span>
</div>
<button class = "btn btn-default" id = "new_quote">New Quote</button>
<button class = "btn btn-default " id="tweet_out">Tweet Out</button>
</div>
<div class="col-sm-6 col-md-3 cl-lg-3"></div>
</div>
Hello. I am having trouble with this project can someone can please help me?
https://codepen.io/FreeCodeCamp/full/NNvBQW/
I cannot figure out how to position my text underneath the image the same as the mock-up.
Here's mine:
img {
height:100%;
width:100%;
}
instacoder sends brownie points to @nitinnair89 :sparkles: :thumbsup: :sparkles:
:cookie: 343 | @nitinnair89 |http://www.freecodecamp.com/nitinnair89
j1417 sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
:star2: 1507 | @kirbyedy |http://www.freecodecamp.com/kirbyedy
z-index: 1;
z-index: 1;
to it
nav {
height: 40px;
width: 50%;
background-color: red;
position: fixed;
z-index: 1;
}
burningpluto sends brownie points to @otto-aa :sparkles: :thumbsup: :sparkles:
:cookie: 360 | @otto-aa |http://www.freecodecamp.com/otto-aa
:cookie: 906 | @marzelin |http://www.freecodecamp.com/marzelin
segrooms sends brownie points to @marzelin :sparkles: :thumbsup: :sparkles:
kkindorf sends brownie points to @oppiniated :sparkles: :thumbsup: :sparkles:
:cookie: 304 | @oppiniated |http://www.freecodecamp.com/oppiniated
$(document).ready(function() {
$("#getQuotes").on("click", function(){
$.getJSON("http://api.forismatic.com/api/1.0/?method=getQuote&format=jsonp&lang=en&jsonp=?", function(json){
$(".message").html(JSON.stringify(json));
});
});
});
{ _id: 581e10b496f5e612f898790d,
title: 'Who\'s cute',
author: 581cc1a4a750092fe8c839b3,
__v: 0,
options:
[ { _id: 581e10b496f5e612f8987910 },
{ _id: 581e10b496f5e612f898790f },
{ _id: 581e10b496f5e612f898790e } ] }
ok...how do i get actual stuff in options
array?
the schema is this
var Poll = new Schema({
title: {
type: String,
required: true
},
options: [{text:String, count: Number}],
author: {
type: Schema.ObjectId,
ref: 'Account',
}
});
help with twitch project. why is there a small space between the userlogo and the div? on full desktop mode. the background is red for testing purposes.
also if i add padding to the txt on the right it brings down the div on the left with it.
with twitch project why is there a small space between the userlogo and the div on full desktop mode the background is red for testing purposesalso if i add padding to the txt on the right it brings down the div on the left with ithttpscodepenioemmanuelamadorpenyamwob
<html lang="en" ng-app="myapp">
myapp is defined in the controllers folder in a module angular.module('myapp')
but when i run the indix.html file i am getting errors as file not found like plugins ,css, etc...but actully all the files are present in the folders itself any help as i amnew to angular js ...or am i doing something wrong
<img src="'+two.logo+'">
<div class="disname text-left"><img src="'+two.logo+'">
<div class="row text-center">
div
in the js
div class="row
text-center
applies to Child element, which in this case, you were placing the img under the div class='row'
emamador sends brownie points to @sparklie3 :sparkles: :thumbsup: :sparkles:
:cookie: 278 | @sparklie3 |http://www.freecodecamp.com/sparklie3
c0d0er sends brownie points to @nankeuriseu :sparkles: :thumbsup: :sparkles:
:cookie: 371 | @nankeuriseu |http://www.freecodecamp.com/nankeuriseu
mixu1308 sends brownie points to @arya45 :sparkles: :thumbsup: :sparkles:
:cookie: 289 | @arya45 |http://www.freecodecamp.com/arya45
<div id="tweet"><a class="twitter-share-button" data-size="large" href="https://twitter.com/intent/tweet">Tweet</a></div>
c0d0er sends brownie points to @nankeuriseu :sparkles: :thumbsup: :sparkles:
:warning: c0d0er already gave nankeuriseu points
"https://twitter.com/intent/tweet?text="+encodeURIComponent([quote])"
window.open(url,'_blank')
thumbnail
, put an img inside it, and then a div with a class caption
.
figcaption p {
margin: 0 auto;
}
Having trouble with the JS calculator. Trying to use buttons to push numbers to an array but not matter what I do it logs an empty array.
var myApp = angular.module('myApp', []);
myApp.controller('mainController', function($scope) {
var problem = [];
var b1 = document.getElementById('b1'), b2 = document.getElementById('b2');
b1.onClick = function(){
problem.push(1);
}
b2.onclick = function(){
problem.push(2);
}
console.log(problem);
});
asonder sends brownie points to @nankeuriseu :sparkles: :thumbsup: :sparkles:
:cookie: 372 | @nankeuriseu |http://www.freecodecamp.com/nankeuriseu
asonder sends brownie points to @nankeuriseu :sparkles: :thumbsup: :sparkles:
:warning: asonder already gave nankeuriseu points
When I disable an button, I want the color to remain the same as when it's enabled. I used the :disabled
selector in CSS to try this, but the button still has the faded-out look to it. Is there a way to stop the faded look?
I disabled it by using jQuery: $("#button").prop("disabled", true);
:disabled
ryanapolinar sends brownie points to @nankeuriseu :sparkles: :thumbsup: :sparkles:
:cookie: 374 | @nankeuriseu |http://www.freecodecamp.com/nankeuriseu
<figure>
and <figcaption>
.
:disable
css to have the property opacity: 1;
. I don't know why I decided to share this with you lol
c0d0er sends brownie points to @nankeuriseu :sparkles: :thumbsup: :sparkles:
:cookie: 375 | @nankeuriseu |http://www.freecodecamp.com/nankeuriseu
zaeroso sends brownie points to @rav404 :sparkles: :thumbsup: :sparkles:
:cookie: 295 | @rav404 |http://www.freecodecamp.com/rav404
-
,+
and 1
,2
need to be adjusted into the button, any idea to fix? http://codepen.io/c0d0er/pen/KNwggG