brunoalmeidabrito sends brownie points to @vasejs :sparkles: :thumbsup: :sparkles:
:cookie: 388 | @vasejs |http://www.freecodecamp.org/vasejs
as i always say, coding isn't hard, people just suck at teaching it hahahaha, loved that one
@theoutlander
Also, server side stuff has it’s limitations on the browser
this is an example of using the back ticks `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My Portfolio</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"/>
</head>
<body>
<div class="container-fluid">
<h1 class="text-center">My Portfolio</h1>
<nav>
<div class="row">
<div class="col-xs-4>
<a href="#aboutme">About Me</a>
</div>
<div class="col-xs-4>
<a href="#myprojects">My Projects</a>
</div>
<div class="col-xs-4>
<a href="#contact">Contact Me</a>
</div>
</div>
</nav>
<h2 id="aboutme">About Me</h2>
<p>I am a student at FreeCodeCamp who hopes to learn to be a full stack web developer.</p>
<p>Below you will find pictures of my projects and how to contact me.</p>
<hr>
<h2 id="myprojects">My Projects</h2>
<p>Here are pictures of some of the websites I have built:</p>
<div class="row">
<div class="col-xs-4">
<img class="smaller-image img-responsive" src="nowhere.gif" alt="project A">
</div>
<div class="col-xs-4">
<img class="smaller-image img-responsive src="nowhere.gif" alt="project B">
</div>
<div class="col-xs-4">
<img class="smaller-image img-responsive" src="nowhere.gif" alt="project C">
</div>
</div>
<hr>
<h2 id="contact">Contact Me</h2>
<a href="www.facebook.com"><i class="fa fa-facebook"></i>my Facebook page</a>
<a href="www.twitter.com"><i class="fa fa-twitter"></i>my Twitter page</a>
<hr>
</div>
</body>
</html>
<div class="col-xs-4> <a href="#aboutme">About Me</a> </div> <div class="col-xs-4>
<a href="#myprojects">My Projects</a>
<img class="smaller-image img-responsive src="nowhere.gif" alt="project B">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"/>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"/>
@inscriptioelectronicaaustralia here's the tweet that I made so you can check it for replies, hopefully people have some good resources:
https://twitter.com/RadaWilinofsky/status/946654419508125696
Good luck!
fetchChannels
function. However my result is undefined. This is what I currently have in my codepen. Any Suggestions? https://codepen.io/dubbeltje/pen/OzpJZb?editors=0010#0
fetchChannelInfo
has no return so what are you storing here var result = fetchChannelInfo(val);
?
fetchChannelInfo
var baseUrl = "https://wind-bow.gomix.me/twitch-api";
var channels = [
"ESL_SC2",
"OgamingSC2",
"cretetion",
"freecodecamp",
"storbeck",
"habathcx",
"RobotCaleb",
"noobs2ninjas"
];
function fetchChannels(channels) {
if (Array.isArray(channels)) {
var results = channels.map(function(val) {
const url = baseUrl + "/channels/" + val + "?callback=?";
return $.getJSON(url);
});
Promise.all(results).then(function (responses){
console.log(responses); // Will contain an array of all the $.getJSON responses
});
}
}
fetchChannels(channels);
var baseUrl = "https://wind-bow.gomix.me/twitch-api";
var channels = [
"ESL_SC2",
"OgamingSC2",
"cretetion",
"freecodecamp",
"storbeck",
"habathcx",
"RobotCaleb",
"noobs2ninjas"
];
function fetchChannels(channels) {
if (Array.isArray(channels)) {
const results = channels.map(c => $.getJSON(`${baseUrl}/channels/${c}?callback=?`));
Promise.all(results).then(console.log);
}
}
fetchChannels(channels);
primuscovenant sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 2120 | @heroiczero |http://www.freecodecamp.org/heroiczero
<input type="password">
abrism sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 945 | @mot01 |http://www.freecodecamp.org/mot01
Hey guys can anyone check out my pen I have no idea why my nav bar dropdown is not working.
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
to it via the popup menu , then delete the <links> on the bottom ^^^