These are chat archives for FreeCodeCamp/HelpFrontEnd
hi guys, just wonder from the syntax :
import React from 'react'; import ReactDOM from 'react-dom';
because there is a kind of import syntax that specifies the file path to import to like below.
import Anything from '/folder/anything.js'
import Name from 'name';
namein the root of your directory, you can use
import Name from './name'
Hi, I can't figure out why the
<a> element is overflowing a couple of pixels below the project images. I am also trying to get the
figcaption tags to fill in all remaining space in the
figure tag, but when I set the height to 100% it just stretches them to the bottom of the page
font-size: 0;on the
atag gets rid of it below the image, but my
figcaptionis still not filling the whole space below the image
figurethat has a set height of 360px, the only two elements inside the
figcaption. If the
imgis set to fixed height of 320px, then that leaves me with 40px on the bottom. So surely if I set the height of my
figcaptionto 100% it should take all of the remaining space (If there is no margin/padding and I can't see any), is this right?
figcaptioncontainer starts a couple of pixels below the image and I can't find a way to get it so start just below it so that I would have 320px/40px split in the container between the image and the caption
As of June 11, 2018, you must enable billing with a credit card and have a valid API key for all of your projects.