:cookie: 307 | @cyberputty |http://www.freecodecamp.org/cyberputty
randygoldsmith sends brownie points to @marmiz :sparkles: :thumbsup: :sparkles:
@Marmiz i found for example those fonts:
https://github.com/lcdvirgo/bootstrap/tree/master/assets/fonts/%5BFontFont%5D%20Kievit
how i apply them on my site what are the stages?
@font-face {
font-family: whatever;
src: url(path to your font);
}
/* then use it as normal */
body {
font-family: whatever
}
:star2: 1161 | @marmiz |http://www.freecodecamp.org/marmiz
:cookie: 323 | @x140hu4 |http://www.freecodecamp.org/x140hu4
:star2: 1162 | @marmiz |http://www.freecodecamp.org/marmiz
componentDidMount() {
var topRecent = "https://fcctop100.herokuapp.com/api/fccusers/top/recent";
axios.get(`https://fcctop100.herokuapp.com/api/fccusers/top/recent/`)
.then(function (res){
console.log(res);
}).catch(function(error){
console.log(error);
})
}
render() {
return(
<div>
<ul>
{this.state.res.map(res =>
<li key={res.username}>{res.alltime}</li>
)}
</ul>
</div>
);
// <div className="container-fluid">
// <h1> TopList </h1>
// <div id="TopList">
// </div>
// </div>
}