:cookie: 40 | @collinbird |http://www.freecodecamp.com/collinbird
:star2: 1267 | @coymeetsworld |http://www.freecodecamp.com/coymeetsworld
:warning: dueldrawer8 already gave coymeetsworld points
.hr.star-bright {
}
margin: 0 auto;
but that did not work
const setShowcaseImg = function() {
const thisProject = project[$(this).data("project")];
//gets the name of the project to later use it to fetch properties from that project
$showcaseImg.find("img").attr("src", thisProject.img);
//gets the url of the imagen and set it
$showcaseImg.find("p").text(thisProject.description);
//gets the description
$showcaseImg.find("a").attr("href", thisProject.url);
//gets the url
$showcaseImg.addClass("showcase-open");
// then it opens a div containing this info
}
I have something like this to showcase some images with text and a link but when i close the showcase div and activates it again with a different images it just takes like 30ms to actually change the image it work, but i can still see the previous image for like 20ms and that's not good :worried:I am trying to align my button and my temperature on the same line.
Ideally, I would like the button to be align to where the degree symbol should be, but I will settle for just getting them on the same line for now.
html
var code = "formatted";
<div class="row-fluid" id="pushDown">
<div class="col-xs-12">
<h1 id="temp"><h1>
<button class = "btn btn-circle" id = "button" onclick = "switchScale()">C</button>
</div>
</div>
css
var code = "formatted"
#button{
width: 3vw;
height: 3vw;
text-align: center;
padding: 1vw 0 ;
font-size: 1vw;
line-height: 1.42;
border-radius: 2vw;
}
#pushDown {
display: inline-block;
margin-top: 10%;
}