These are chat archives for FreeCodeCamp/HelpFrontEnd

Sep 2018
Ryan Williams
Sep 21 2018 00:10
Anyone know why copy pasting this code from this site
into codepen doesn't get similar results
the code is entirely in html and css and doesn't use any external sources/links
small sample of the code not working is
 padding:0.46em 1.6em;
 border:0.1em solid #000000;
 margin:0 0.2em 0.2em 0;
 box-sizing: border-box;
Claudio Restifo
Sep 21 2018 02:31
@Ryanwfile you have the pen ready?
can be some CSS resets or maybe just the font :)
Ryan Williams
Sep 21 2018 15:20
@Marmiz I just opened a new pen and copy pasted the HTML and CSS and most of the CSS didn't seem to work, and it looked nothing like the result shown
AJ Brommy
Sep 21 2018 16:38
got a link to your codepen?
Sep 21 2018 16:52
@Ryanwfile The author didn't use a <code> or <pre> tag, so junk characters get copied that CSS can't deal with. Copy, paste into codepen, select all CSS and hit shift+tab to reset the indentation.
AJ Brommy
Sep 21 2018 23:05
Anybody here?
anyone know if one can have 2 classes on an element?
and if i do that will it pass the test ? lol
i've used font awesome to create a link with github profile but the portfolio projects says "My portfolio should have a link with an id of profile-link, which opens my GitHub or FCC profile in a new tab."
oh tit
answered my own question