These are chat archives for FreeCodeCamp/HelpFrontEnd

21st
Sep 2018
Ryan Williams
@Ryanwfile
Sep 21 2018 00:10
Anyone know why copy pasting this code from this site
https://fdossena.com/?p=html5cool/buttons/i.frag
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
a.button5{
 display:inline-block;
 padding:0.46em 1.6em;
 border:0.1em solid #000000;
 margin:0 0.2em 0.2em 0;
 border-radius:0.12em;
 box-sizing: border-box;
 text-decoration:none;
}
Claudio Restifo
@Marmiz
Sep 21 2018 02:31
@Ryanwfile you have the pen ready?
can be some CSS resets or maybe just the font :)
Ryan Williams
@Ryanwfile
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
@AJ-Brommy
Sep 21 2018 16:38
got a link to your codepen?
newmoon
@newmoon
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. https://codepen.io/anon/pen/xaBJqx?editors=1100
AJ Brommy
@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
sorry
"ID"
answered my own question
lol