<h2>
element before it is display:block
so the inline-block of the next div starts on a new "row" of the output. If you put two divs together after that h2, make both have the class of box1
, it should probably work. Oh - this is also a problem - you have to write the CSS selector for your class as .box1
in order for it to apply to those divs... So put a second div with class="box1"
and add the .
to .box1
in the CSS panel, and it should display two divs side by side. Add some content in the div so they show up. Oh, and if you want the divs to show up, use background-color
for the color so that the entire box will be filled...
rdavidson3 sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3513 | @khaduch |http://www.freecodecamp.org/khaduch
quantomistro3178 sends brownie points to @github-henry :sparkles: :thumbsup: :sparkles:
:cookie: 490 | @github-henry |http://www.freecodecamp.org/github-henry
quantomistro3178 sends brownie points to @otto-aa :sparkles: :thumbsup: :sparkles:
:cookie: 388 | @otto-aa |http://www.freecodecamp.org/otto-aa
github-henry sends brownie points to @otto-aa :sparkles: :thumbsup: :sparkles:
:cookie: 389 | @otto-aa |http://www.freecodecamp.org/otto-aa
var quot;
function load(){
var https = new quotes();
https.onreadystatechange = function()
{
if(this.readyState==4 && this.status==200){
document.getElementById("p").innerHTML = function quote(quotee)
{
quotee.quoteText;
};
}
};
https.open("GET","https://api.forismatic.com/api/1.0/?method=getQuote&key=457653&format=jsonp&lang=en&jsonp=?",true);
https.send();
}
luizanyn sends brownie points to @kevinkiklee and @tiagocorreiaalmeida and @quantomistro3178 :sparkles: :thumbsup: :sparkles:
:cookie: 251 | @quantomistro3178 |http://www.freecodecamp.org/quantomistro3178
:cookie: 332 | @kevinkiklee |http://www.freecodecamp.org/kevinkiklee
:cookie: 446 | @tiagocorreiaalmeida |http://www.freecodecamp.org/tiagocorreiaalmeida
@1532j0004kg this seems kinda wrong:
document.getElementById("p").innerHTML = function quote(quotee)
{
quotee.quoteText;
};
you define the function quote and set the innerHTML equal to the function (and not an output of the function)
var https = new quotes()
seem like it should be var https = new XMLHttpRequest()
quotes
is undefinednew quotes()
is undefinedhttps
is undefinedquotes
is undefined, therefore new quotes()
is undefined as well.var https = new quotes();
var https = undefined
(because new quotes()
is undefined as well)chrisandsuch sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 910 | @mot01 |http://www.freecodecamp.org/mot01
@RogeMateos
Any specific part you want help with?
Won't do the exercise for you mate :)
@RogeMateos Is this exercise up-to-date?
Using any of the
filters on the left-hand side of the page should also work. For example, if a user ticks βUnlimited
Bandwidthβ and βFree Domainβ, the second result should be discounted by 10% and shown in red.
This doesn't seem to work for me
chrisandsuch sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 911 | @mot01 |http://www.freecodecamp.org/mot01
border: 1px solid blue;
on .gigs > li > .date
you'll see what is happening. It's creating a border-radius
on the div. It just has no effect on the children elements.
border-top-left-radius
and border-top-right-radius
to .gigs > li > .date > .month
and border-bottom-left-radius
and border-bottom-right-radius
to .gigs > li > .date > .day
to get the effect you want.
overflow: hidden;
... soo all "extra" content will hide
overflow: hidden;
. It's not working.
.gigs > li > .date *:first-child {
border-radius: 10px 10px 0 0;
}
.gigs > li > .date *:last-child {
border-radius: 0 0 10px 10px;
}
.gigs > li > .date {
width: 70px;
text-align: center;
-ms-border-radius: 10px;
border-radius: 10px;
overflow: hidden;
}
<p>My Paragraph</p>
) a class?
<input type="text">
tyjanii sends brownie points to @benwebdev :sparkles: :thumbsup: :sparkles:
:cookie: 364 | @benwebdev |http://www.freecodecamp.org/benwebdev
<body>content</body>
there and for the <head>headStuff</head>
you can click on the settings icon left to html and put it in there ;)
tyjanii sends brownie points to @otto-aa :sparkles: :thumbsup: :sparkles:
:cookie: 390 | @otto-aa |http://www.freecodecamp.org/otto-aa
.jumbotron h1
instead of only using h1
. Because the most specific selector will be used. (!important > inline style > id > class and specific selector > unspecific selector). And bootstrap uses .jumbotron h1
to make the text grey I think
tyjanii sends brownie points to @otto-aa :sparkles: :thumbsup: :sparkles: