.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%;
}
:star2: 1475 | @khaduch |http://www.freecodecamp.com/khaduch
This is designed to run in a c9 environment.
Once installed, enter npm install
into the bash terminal. Then type gulp
from the bash terminal.
Your React development environment is now ready.
The environment will compile React JSX, Lint JSX and JS with ESlint, Bundle your JS and CSS files, Migrate the built app to the dist folder, and run a dev web-server.
:pencil: read more about building applications with react and flux on the FCC Wiki
:cookie: 375 | @donaldpittard |http://www.freecodecamp.com/donaldpittard
:star2: 1291 | @qualitymanifest |http://www.freecodecamp.com/qualitymanifest
:cookie: 335 | @manu-4216 |http://www.freecodecamp.com/manu-4216
http://codepen.io/redixhumayun/pen/JKryAZ?editors=0011
Hey, I'm having some issues, understanding why my timers are behaving really oddly in my script for the Simon game. Can anybody help me out here?
The values show up fine for the first three timer loops and then they just show undefined values.
:cookie: 521 | @sorinr |http://www.freecodecamp.com/sorinr