6th
Aug 2017
Sebastian Gomez-Duranona
@SebasDuranona
Aug 06 2017 00:46
Hey!
I'm doing my tribute page, and I wanted to know if there is a way to link another codepen page to the main one I am making
Razvan
@razvanlikespizza
Aug 06 2017 01:13
May I get some help with CSS? :|
Joshua K.
@jxshva
Aug 06 2017 01:38
Hey everyone I was wondering if someone could give me some input on my tribute page mainly help
I'm working on my tribute page but I can't figure out how to make my img centered and to auto change size according to screen size
That's what I have so far
Eunice Park
@eunicode
Aug 06 2017 01:45
@jxshva Since you have Bootstrap 3, you can add the class img-responsive to your image in the HTML. This will make your image change according to screen size.
Then you can center your image by giving it a specific id/class in the HTML and then giving it a property of margin: auto in CSS.
@jxshva so this should be in your HTML:<img class="img-responsive pokemonClass" src="http://orig07.deviantart.net/4b37/f/2014/127/a/9/pokemon__ash_capture_pokemon__wallpaper__by_kill3rcombo-d7hjsj7.png">
And this should be in your CSS:
.pokemon {
margin: auto;
}
vbaghdas
@vbaghdas
Aug 06 2017 02:13
Can someone show me how to remove multiple decimals from an element in an array. For example, I am trying to output "1.1" from var arr = ["1...1"];
Eric Miller
@ericmiller777
Aug 06 2017 02:24
@vbaghdas you cant use splice?
somtimes the fcc weather api can be weird
vbaghdas
@vbaghdas
Aug 06 2017 02:33
i'm building a calculator...trying to see how i can account for multiple decimals .
and splice does not work on a string
i guess i can split the string in the array
Sydney
@SydneyWarren
Aug 06 2017 02:37
function findElement(arr, func) {
console.log(arr);
func(2);
console.log(func);
var num = 0;
return num;
}

findElement([1, 2, 3, 4], function(num) {
return num % 2 === 0;
});
how come i can't use func as a callback? i dont see console.log(func)?
korzo
@korzo
Aug 06 2017 02:38
@SydneyWarren console.log(func(2));
Sydney
@SydneyWarren
Aug 06 2017 02:39
@korzo thanks
CamperBot
@camperbot
Aug 06 2017 02:39
sydneywarren sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
Joshua K.
@jxshva
Aug 06 2017 02:41
@eunipa Thank you so so so much
CamperBot
@camperbot
Aug 06 2017 02:41
jxshva sends brownie points to @eunipa :sparkles: :thumbsup: :sparkles:
Nnenanya Chinedu
@Manpee
Aug 06 2017 02:49

Hi. can someone help me. I am trying to link my freecodecamp page on my portfolio web but it is not working and this is what I wrote; <div class="row">
<div class= "col-xs-2">

<button class="btn btn-block btn-primary">
<a href="https://www.freecodecamp.org/manpee" target="_blank"> </a> FreecodeCamp</button>
</div>
</div>

korzo
@korzo
Aug 06 2017 02:51
@Manpee
<div class="row">
<div class= "col-xs-2">
<button class="btn btn-block btn-primary">
<a href="https://www.freecodecamp.org/manpee" target="_blank">FreecodeCamp </a> </button>
</div>
</div>
@Manpee But why you place link inside button?
Nnenanya Chinedu
@Manpee
Aug 06 2017 02:53
korzo
@korzo
Aug 06 2017 02:53
@Manpee you can remove button and add class="btn btn-block btn-primary" to link
I posted correct version above
Jill Lee
@jill-lee
Aug 06 2017 02:55

Hi, how to position the subscribe button next to the email form.
<div class="subscribe">
<div class="subscribe-background">
</p>

 <form style="width:25%; margin-left: auto; margin-right:auto">
<div class="form-group">
<input type="email" class="form-control" id="email" placeholder="Enter email">
</div></form>
<button type="submit" class="btn btn-default" style="background-color: #000; color: #fff; padding: 10px 40px;">SUBSCRIBE</button>

</div>
</div>
</div>

.subscribe {
background-color: #F7F7F7;
border: none;
color: #000;
text-decoration: none;
display: inline-block;
font: 16px 'Oswald', sans-serif;
font-weight: light;
cursor: pointer;
letter-spacing: 6px;
text-align: center;
width: 100%;
margin-top: 6px;
}

.subscribe-button {
letter-spacing: 3px;
font: 12px 'Doris', sans-serif;
background-color: #202020;
}

korzo
@korzo
Aug 06 2017 02:57
@phoenix-burn try <form class="form-inline"> and put button inside the form
Nnenanya Chinedu
@Manpee
Aug 06 2017 02:57
@korzo do you mean I should remove the closing button? because the version you posted above still have a button but no closing button.
Jill Lee
@jill-lee
Aug 06 2017 02:59
@korzo thanks
CamperBot
@camperbot
Aug 06 2017 02:59
phoenix-burn sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
korzo
@korzo
Aug 06 2017 02:59
@Manpee it has closing button at the end of line with link
take a look here http://jsbin.com/fowovibaxu/edit?html,output
Jill Lee
@jill-lee
Aug 06 2017 02:59
@korzo Do you know how i can change the blue highlight color to what i want on the input form?
korzo
@korzo
Aug 06 2017 03:01

@phoenix-burn
Here is code from bootstrap

.form-control:focus {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

@phoenix-burn for box-shadow it's last value rgba(102,175,233,.6)
@phoenix-burn it's #66afe9 with opacity 0.6
Jill Lee
@jill-lee
Aug 06 2017 03:06
@korzo thanks a lot :)
CamperBot
@camperbot
Aug 06 2017 03:06
phoenix-burn sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
:warning: phoenix-burn already gave korzo points
korzo
@korzo
Aug 06 2017 03:07
@phoenix-burn Glad to help. Happy coding
Nnenanya Chinedu
@Manpee
Aug 06 2017 03:13
@korzo Thank you very much. Another challenge here is how do I include the icon for freecodecamp on my button? also icon for facebook, linkedin and other social media pages.
CamperBot
@camperbot
Aug 06 2017 03:13
manpee sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
korzo
@korzo
Aug 06 2017 03:14
@Manpee use font awesome
then find icons
http://fontawesome.io/icons/
<a href=""><i class="fa fa-twitter"></i>My Twatter</a>
Nnenanya Chinedu
@Manpee
Aug 06 2017 03:21
OK @korzo let me try
Nnenanya Chinedu
@Manpee
Aug 06 2017 03:29
@korzo sorry I am asking too much, please I how do I add the CSS and find the icons as you mentioned above. I am not too good in coding yet.
korzo
@korzo
Aug 06 2017 03:30
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
Eric Miller
@ericmiller777
Aug 06 2017 03:34
Im doing the wikipedia viewer
and i just
dont where where to even start....
korzo
@korzo
Aug 06 2017 03:34
@Manpee Then go to http://fontawesome.io/icons/
There is a search box.
type in there what you are searching for (e.g. twitter, github...)
uder the box you'll see available icons matching your search term.
Click on icon you like
On next page you'll see icon and code for it like
<i class="fa fa-address-book-o" aria-hidden="true"></i>
lizangie
@Lizangie
Aug 06 2017 03:37
hi
can somebody help me?
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 03:38
@Lizangie ?
Kyle Holm
@thekholm80
Aug 06 2017 03:40
@ravikishorethella :wave:
lizangie
@Lizangie
Aug 06 2017 03:40
@ravikishorethella Hi
hi kyle
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 03:40
@thekholm80 :wave:
Kyle Holm
@thekholm80
Aug 06 2017 03:40
@Lizangie hiya!
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 03:40
@Lizangie hello
@thekholm80 How is it going?
Kyle Holm
@thekholm80
Aug 06 2017 03:40
I'm good, you?
lizangie
@Lizangie
Aug 06 2017 03:40
I don´t understant very well what is a thumbnail
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 03:40
good
lizangie
@Lizangie
Aug 06 2017 03:40
and how to use it
Kyle Holm
@thekholm80
Aug 06 2017 03:41
thumbnail is just a little picture
take a big picture, make it small
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 03:41
yeah, they are reduced version of pictures
lizangie
@Lizangie
Aug 06 2017 03:42
thanks
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 03:42
:+1:
lizangie
@Lizangie
Aug 06 2017 03:43
:)
have to more question :/...
and a place holder
Kyle Holm
@thekholm80
Aug 06 2017 03:43
sorry, you used up all your questions
lizangie
@Lizangie
Aug 06 2017 03:43
ups!
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 03:43
:smile:
Kyle Holm
@thekholm80
Aug 06 2017 03:43
only joking lol
lizangie
@Lizangie
Aug 06 2017 03:43
XD
i know
Kyle Holm
@thekholm80
Aug 06 2017 03:44
a placeholder is just a random picture that you use until you can replace it with the real thing
lizangie
@Lizangie
Aug 06 2017 03:45
ahhh
I'm doing the portfolio...it just that is for an Ant XD
can i do that
?
Kyle Holm
@thekholm80
Aug 06 2017 03:46
lizangie
@Lizangie
Aug 06 2017 03:47
iḿ doing the portfolio it has to be about me or i can do it random
?
Kyle Holm
@thekholm80
Aug 06 2017 03:47
i'd suggest doing it about you
lizangie
@Lizangie
Aug 06 2017 03:47
ok
can i skip my photo?
Kyle Holm
@thekholm80
Aug 06 2017 03:48
yep
i used a picture of Spongebob Squarepants
lizangie
@Lizangie
Aug 06 2017 03:54
:D
Iḿ trying to put a picture in a section but if i click it sent me to the top of th page..... I know it hast to be something related to heritage...and that i can you !importan rule...but not sure where to place it
Nnenanya Chinedu
@Manpee
Aug 06 2017 03:57
@korzo thanks a lot. i have gotten it
CamperBot
@camperbot
Aug 06 2017 03:57
manpee sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
:warning: manpee already gave korzo points
KasiaMarszalek
@KasiaMarszalek
Aug 06 2017 04:16
C
lizangie
@Lizangie
Aug 06 2017 04:18
@thekholm80 and @KasiaMarszalek thanks know I know how to do the thumbnails
CamperBot
@camperbot
Aug 06 2017 04:18
lizangie sends brownie points to @thekholm80 and @kasiamarszalek :sparkles: :thumbsup: :sparkles:
:star2: 1424 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Kyle Holm
@thekholm80
Aug 06 2017 04:19
@Lizangie :+1:
Amit Patel
@AmitP88
Aug 06 2017 04:19
hey guys, how do I open up a project folder in Sublime Text 3 editor using the windows terminal? the command subl . won't work (says it's not recognized as internal or external command) and I've added the Sublime Text 3 directory (C:\Program Files\Sublime Text 3 at the end of the PATH of the System Variable but it didn't work. (subl . and sublime_text commands don't work - not recognized)
Manish Giri
@Manish-Giri
Aug 06 2017 04:23
Amit Patel
@AmitP88
Aug 06 2017 04:24
Manish Giri
@Manish-Giri
Aug 06 2017 04:29
um
not that
the PATH environment variable
it should be under "environment variables"
Amit Patel
@AmitP88
Aug 06 2017 04:33
Manish Giri
@Manish-Giri
Aug 06 2017 04:34
isn't there a bin folder
in the sublime text 3 folder
Amit Patel
@AmitP88
Aug 06 2017 04:36
no bin folder
Amit Patel
@AmitP88
Aug 06 2017 04:47
@Manish-Giri do I need to create a Bin folder in here?
Darren
@DarrenfJ
Aug 06 2017 04:57
morning fCC
Kyle Holm
@thekholm80
Aug 06 2017 04:58
@DarrenfJ :wave:
Darren
@DarrenfJ
Aug 06 2017 04:59
@thekholm80 hey buddy how goes it?
everytime i come in the last 2 days it's been soooo quiet
Kyle Holm
@thekholm80
Aug 06 2017 04:59
I'm good, you?
Darren
@DarrenfJ
Aug 06 2017 04:59
working on weather app actually.. while also prepping (vids etc) for the microservices junk
Kyle Holm
@thekholm80
Aug 06 2017 05:00
very cool
Darren
@DarrenfJ
Aug 06 2017 05:00
yah one of the good things about it being so quiet in the late night is i actually do the projects now
Kyle Holm
@thekholm80
Aug 06 2017 05:01
lol
i'm averaging like 3 lines of code a day
Darren
@DarrenfJ
Aug 06 2017 05:05
me too mostly :D
Darren
@DarrenfJ
Aug 06 2017 05:11
in case i forget (gonna go watch vids)
ricpconsulting
@ricpconsulting
Aug 06 2017 05:11
Does anyone know how to add a range in numpy array?
Darren
@DarrenfJ
Aug 06 2017 05:12
thanks for hanging
@thekholm80 thanks
CamperBot
@camperbot
Aug 06 2017 05:12
darrenfj sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1425 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Darren
@DarrenfJ
Aug 06 2017 05:12
@ricpconsulting I'm not sure what you mean
what exercise?
Kyle Holm
@thekholm80
Aug 06 2017 05:12
@DarrenfJ sorry i got caught up in a movie, not trying to ignore you
ricpconsulting
@ricpconsulting
Aug 06 2017 05:13
It's python. Not exactly a freecodecamp exercise
Darren
@DarrenfJ
Aug 06 2017 05:13
i thought it might be.. my python is very rusty
ricpconsulting
@ricpconsulting
Aug 06 2017 05:13
Don't worry. Thanks for trying to help :)
Darren
@DarrenfJ
Aug 06 2017 05:13
treehouse courses form more than 2 years ago.. yikes!
Darth Skywalker
Aug 06 2017 05:18
@DarrenfJ :wave:
Darren
@DarrenfJ
Aug 06 2017 05:20
lizangie
@Lizangie
Aug 06 2017 05:37
is somebody awake?
Kyle Holm
@thekholm80
Aug 06 2017 05:39
i'm 1/2 awake
lizangie
@Lizangie
Aug 06 2017 05:40
jejej me too...
I'm put an anchor to a <i>
Kyle Holm
@thekholm80
Aug 06 2017 05:41
show me?
lizangie
@Lizangie
Aug 06 2017 05:42
but when i click it appear a shadow....
ok
Kyle Holm
@thekholm80
Aug 06 2017 05:45
@Lizangie it's because of
a:hover {
background-color: rgba(225, 182, 55, 0.57);
text-decoration:none;
color:white;
width:90%;
marging-left:15px;

}
lizangie
@Lizangie
Aug 06 2017 05:45
how can i show you the code
Kyle Holm
@thekholm80
Aug 06 2017 05:45
i can see it
lizangie
@Lizangie
Aug 06 2017 05:45
ahhhhh
i used that color for anchor in general
that is why
thanks you
Kyle Holm
@thekholm80
Aug 06 2017 05:46
yep!
lizangie
@Lizangie
Aug 06 2017 05:46
dint see it
can you check in general the code ( does not have to be today...) it just that is my first time and I know have a lot of thing probably wrong or things that i can do better next time
Kyle Holm
@thekholm80
Aug 06 2017 05:47
sure
lizangie
@Lizangie
Aug 06 2017 05:47
just want to have an opinion to see who i'm I doing
thanks
Kyle Holm
@thekholm80
Aug 06 2017 05:48
no problemo
lizangie
@Lizangie
Aug 06 2017 05:50
Well if i do not learn web development .... at least I improved my English :smile:
Kyle Holm
@thekholm80
Aug 06 2017 05:51
por que no los dos? lol
Klar-t
@Klar-t
Aug 06 2017 05:52
me too
Ashish sb
@ashishsb95
Aug 06 2017 05:53
i can't seem to fetch the quotes from the Quotes REST API https://theysaidso.com/api/ here's my code https://codepen.io/ashishsb/pen/wqGoeJ?editors=1010
Manish Giri
@Manish-Giri
Aug 06 2017 05:55
@ashishsb95 http://quotes.rest/qod.json
don't think this will work
codepen doesn't allow resources served over http anymore
Ashish sb
@ashishsb95
Aug 06 2017 05:56
@Manish-Giri whats thr available alternatives?
Manish Giri
@Manish-Giri
Aug 06 2017 05:58
use an HTTPS api
or use a CORS proxy
Eric Miller
@ericmiller777
Aug 06 2017 05:58
ill give you one
Manish Giri
@Manish-Giri
Aug 06 2017 05:58
that still lets you use http resources
@ashishsb95
lizangie
@Lizangie
Aug 06 2017 05:59
@thekholm80 no sabia que hablabas espanol?
@thekholm80 :)
Kyle Holm
@thekholm80
Aug 06 2017 05:59
@Lizangie lo siento, yo no habla ne una pelabra de espanol
Eric Miller
@ericmiller777
Aug 06 2017 05:59
lizangie
@Lizangie
Aug 06 2017 06:00
are you using google translate then?
Kyle Holm
@thekholm80
Aug 06 2017 06:00
nope
lol
i know a little
lizangie
@Lizangie
Aug 06 2017 06:00
mmm... so you can write?
a little???
Kyle Holm
@thekholm80
Aug 06 2017 06:00
poquito
and my spelling is horrible
lizangie
@Lizangie
Aug 06 2017 06:01
for what you just wrote... i know a lot
Kyle Holm
@thekholm80
Aug 06 2017 06:01
algun dia aprendere
lizangie
@Lizangie
Aug 06 2017 06:01
small details...
but i can understand you without problem
Klar-t
@Klar-t
Aug 06 2017 06:02
My English is poor, too
Kyle Holm
@thekholm80
Aug 06 2017 06:02
your english is 100x better than my spanish
Klar-t
@Klar-t
Aug 06 2017 06:02
。。。。
lizangie
@Lizangie
Aug 06 2017 06:03
mmm.... it seams to me that your mistakes are like mines ( ortografia)
but if you can understand and answer backs you're perfect, good enough
Ashish sb
@ashishsb95
Aug 06 2017 06:04
@Manish-Giri any tutorials on https api?
Kyle Holm
@thekholm80
Aug 06 2017 06:04
si necesitas practicas
oh, chrome will correct my spelling on some words lol
that's handy
@ashishsb95 you just need to find an api to use that has https:// instead of http://
you use them the same
Ashish sb
@ashishsb95
Aug 06 2017 06:06
@thekholm80 ohh thanks
CamperBot
@camperbot
Aug 06 2017 06:06
ashishsb95 sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1426 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Jill Lee
@jill-lee
Aug 06 2017 06:06
Why does my portfolio section messed up in github but it works on codepen?
https://phoenix-burn.github.io/portfolio/
https://codepen.io/phoenix-burn/full/bRRaEO/
Kyle Holm
@thekholm80
Aug 06 2017 06:07
Jill Lee
@jill-lee
Aug 06 2017 06:07
@thekholm80 is this a bug in github or am i missing something here?
Kyle Holm
@thekholm80
Aug 06 2017 06:07
you might have better luck using a cdn in the <head> section of your page
Aug 06 2017 06:08
@ashishsb95 if you replace http with https it works fine but the problem is it fetches only the quote for the day (only 1 quote).
Ashish sb
@ashishsb95
Aug 06 2017 06:08
Kyle Holm
@thekholm80
Aug 06 2017 06:08
@phoenix-burn oh wait, you have cdns there
CamperBot
@camperbot
Aug 06 2017 06:09
phoenix-burn sends brownie points to @thekholm80 and @sonimadhuri :sparkles: :thumbsup: :sparkles:
:star2: 1427 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Aug 06 2017 06:10
@phoenix-burn lol u tagged the wrong person
Kyle Holm
@thekholm80
Aug 06 2017 06:10
@phoenix-burn i'm not sure what's causing it, sorry. I'm not that great at UI/UX
Albert Cardona II
Aug 06 2017 06:13
@phoenix-burn try putting your styles css after all the other css it should be the last one called I think
but I am exhausted lol
Ashish sb
@ashishsb95
Aug 06 2017 06:13
@sonimadhuri how do i set the cache to false then?
Darren
@DarrenfJ
Aug 06 2017 06:16
Manish Giri
@Manish-Giri
Aug 06 2017 06:17
@DarrenfJ :wave:
__mifflin__
@cdrainxv
Aug 06 2017 06:19
PHP and MySQL are the worst.
Jill Lee
@jill-lee
Aug 06 2017 06:22
@daddycardona ok ill try that thanks @thekholm80
CamperBot
@camperbot
Aug 06 2017 06:22
phoenix-burn sends brownie points to @daddycardona and @thekholm80 :sparkles: :thumbsup: :sparkles:
:warning: phoenix-burn already gave thekholm80 points
Albert Cardona II
Aug 06 2017 06:23
Aug 06 2017 06:23
@ashishsb95 you will have to use different api because this api will anyway return only one quote for the day.
Kyle Holm
@thekholm80
Aug 06 2017 06:23
DELETE * from web_technologies WHERE language LIKE php
am i mysql'ing right?
Albert Cardona II
Aug 06 2017 06:24
I don't know lmao
Ashish sb
@ashishsb95
Aug 06 2017 06:24
Manish Giri
@Manish-Giri
Aug 06 2017 06:25
@ashishsb95 forismatic
Albert Cardona II
Aug 06 2017 06:26
Oh snap @phoenix-burn I been to Palawan
Aug 06 2017 06:27
__mifflin__
@cdrainxv
Aug 06 2017 06:30
@thekholm80: Pretty much… Why isn’t every language like JS or python?
Kyle Holm
@thekholm80
Aug 06 2017 06:31
@cdrainxv you have to see the bad to appreciate the good
__mifflin__
@cdrainxv
Aug 06 2017 06:33
But the creator of php already saw the good — python and JS were created before PHP.
He had time to revisit the draft board.
Kyle Holm
@thekholm80
Aug 06 2017 06:34
Eric Miller
@ericmiller777
Aug 06 2017 06:34
hey guys
Manish Giri
@Manish-Giri
Aug 06 2017 06:35
ew
Kyle Holm
@thekholm80
Aug 06 2017 06:35
crappy search
Manish Giri
@Manish-Giri
Aug 06 2017 06:35
search=apple
Eric Miller
@ericmiller777
Aug 06 2017 06:35
what do i do because the first 2 results are like "Poop or pooped may refer to:"
lol
but in general what would i do about that?
for wikipedia viewer
__mifflin__
@cdrainxv
Aug 06 2017 06:40

He can’t be though… he was in Canada when he wrote PHP — so that can’t be it. :smile:

Darth Skywalker
Aug 06 2017 06:40
Geez Poopó Municipality"
__mifflin__
@cdrainxv
Aug 06 2017 06:42

https://en.wikipedia.org/w/api.php?action=opensearch&search=poop&limit=10&namespace=0&format=json

First of all… why?
Secondly… poop doesn’t come in json form … at least mine doesn’t.

Kyle Holm
@thekholm80
Aug 06 2017 06:43

the best thing i've read all night

poop doesn’t come in json form

Darth Skywalker
Aug 06 2017 06:45
Ha!
Darren
@DarrenfJ
Aug 06 2017 06:54
@Manish-Giri thanks buddy!
CamperBot
@camperbot
Aug 06 2017 06:54
darrenfj sends brownie points to @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 6375 | @manish-giri |http://www.freecodecamp.com/manish-giri
Darren
@DarrenfJ
Aug 06 2017 06:54
wil check them out later.. working on weather app right now

@thekholm80 :)

DELETE * from web_technologies WHERE language LIKE php

Manish Giri
@Manish-Giri
Aug 06 2017 06:55
@DarrenfJ :+1:
@DarrenfJ ty
CamperBot
@camperbot
Aug 06 2017 06:55
manish-giri sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 1952 | @darrenfj |http://www.freecodecamp.com/darrenfj
Darren
@DarrenfJ
Aug 06 2017 06:56
@cdrainxv why isn't every language like Ruby? now that would be a fun day
for me anyway
Manish Giri
@Manish-Giri
Aug 06 2017 06:56
'poop'.upcase.downcase
lol
__mifflin__
@cdrainxv
Aug 06 2017 06:58
@DarrenfJ: I haven’t looked at ruby yet… The standard for a language to me is python or JS., but I do have some ruby and rails books to read after learning the django framework.
Manish Giri
@Manish-Giri
Aug 06 2017 06:59
Timothy Javins
@timjavins
Aug 06 2017 06:59
@Lizangie No somos muchos, los que hablan español, pero si hay.
__mifflin__
@cdrainxv
Aug 06 2017 07:00
Nah...
Timothy Javins
@timjavins
Aug 06 2017 07:00
Tuvimos a alguien hace unas horas quien vive en Tijuana.
__mifflin__
@cdrainxv
Aug 06 2017 07:01
It would be better to learn laravel instead of django, but I prefer python.
Amit Patel
@AmitP88
Aug 06 2017 07:02
hey guys, do you know of a good up-to-date resource on how to best setup my IDE for React? I'm using Sublime Text 3 for my editor and I've been googling around for packages to install, but many of them are deprecated. I'm looking for the most updated packages to install for React & Redux
Manish Giri
@Manish-Giri
Aug 06 2017 07:04
use atom
then use language-babel
Amit Patel
@AmitP88
Aug 06 2017 07:05
@Manish-Giri ok, i'll give it a shot. thanks :)
CamperBot
@camperbot
Aug 06 2017 07:05
amitp88 sends brownie points to @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 6376 | @manish-giri |http://www.freecodecamp.com/manish-giri
Amit Patel
@AmitP88
Aug 06 2017 07:06
@Manish-Giri does atom still work with Emmet?
Manish Giri
@Manish-Giri
Aug 06 2017 07:06
wait there's one for sublime too
Amit Patel
@AmitP88
Aug 06 2017 07:06
oh yeah, I've seen people mention that one
I was just wondering if there were more packages that compliment babel-sublime
Jill Lee
@jill-lee
Aug 06 2017 07:10
@daddycardona seriously? Palawan is a great place to be in right now :)
Ashish sb
@ashishsb95
Aug 06 2017 07:11
my next quote seem to be working can someone explain to me what this url implies https://api.forismatic.com/api/1.0/?method=getQuote&lang=en&format=jsonp&jsonp=?
Eric Miller
@ericmiller777
Aug 06 2017 07:17
hey guys
why is my jquery not working at all
nvm just getting late
actully that should work tho
Mikhail Panichev
Aug 06 2017 07:20
'Access-Control-Allow-Origin' issue
I'm not sure, but I think you should use jsonp format
Eric Miller
@ericmiller777
Aug 06 2017 07:22
hmm
CamperBot
@camperbot
Aug 06 2017 07:22
ericmiller777 sends brownie points to @denisinvader :sparkles: :thumbsup: :sparkles:
Eric Miller
@ericmiller777
Aug 06 2017 07:23
any tips on getting jsonp?
vbaghdas
@vbaghdas
Aug 06 2017 07:23
can someone help me //output ["1.1"] from // var arr=["1..1"] or var arr=["1.........1"];
still stuck on this :worried:
building a calculator and want to account for multiple decimals
Manish Giri
@Manish-Giri
Aug 06 2017 07:24
use a regex
replace multiple decimals with just one
vbaghdas
@vbaghdas
Aug 06 2017 07:25
im not too familiar with regex
Mikhail Panichev
Aug 06 2017 07:25
Manish Giri
@Manish-Giri
Aug 06 2017 07:25
str.replace(/\.+/g, '.');
@vbaghdas
vbaghdas
@vbaghdas
Aug 06 2017 07:25
thank you @Manish-Giri I will try that out now..
CamperBot
@camperbot
Aug 06 2017 07:25
vbaghdas sends brownie points to @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 6377 | @manish-giri |http://www.freecodecamp.com/manish-giri
Eric Miller
@ericmiller777
Aug 06 2017 07:26
how would i add the script tags i dont understand?
Ashish sb
@ashishsb95
Aug 06 2017 07:29
this doesn't seem to be working FB.ui({ method: 'share', display: 'popup', href: 'https://developers.facebook.com/docs/', }, function(response){}); });
on codepen
Mikhail Panichev
Aug 06 2017 07:30
I think you understood it wrong. Somebody in your app can dynamically add the <script> tag and send requests to others sites (sending admin cookies for example). CORS is help to protect your app from these hacks
Eric Miller
@ericmiller777
Aug 06 2017 07:32
I see
Mikhail Panichev
Aug 06 2017 07:32
In your case you likely should add some request params like format=jsonp&callback=? (it's just example, I don't remember wikipedia API, you can look at my pen https://codepen.io/denisinvader/pen/EgPrwq)
i dont like looking at other peoples pens thank you tho
Mikhail Panichev
Aug 06 2017 07:35
Try to add callback=? in request at first
Eric Miller
@ericmiller777
Aug 06 2017 07:36
that works just its no longer json
well i get some undefined
:P
Mikhail Panichev
Aug 06 2017 07:42
Looks like jQuery mistake
This message was deleted
This message was deleted
\$.ajax({
url: searchUrl,
data: {
format: 'json'
},
dataType: 'jsonp'
}).done(function(res) {
if (typeof callback === 'function')
callback(res);
});
Ashish sb
@ashishsb95
Aug 06 2017 07:44
guys , i wish to share my quote onto fb wall from my codepen pen ,what should be my approach?
andrea
@girlcodecrush
Aug 06 2017 07:45
With flexbox, I tried to display image and corresponding text in the same row, like [image] [text], but didnt make it.
.flex-container {
margin:0;
list-style:none;
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: flex-start;
align-items: flex-start;
}
.flex-item {
width:668px;
height: 451px;
order:2;
text-align: center;
font-family: monospace;
font-size: 15px;
color: black;
font-style : italic;
}
The above is my code. The text comes below the image repeatedly. What's wrong with my code?
What I want is:
Three rows of "[ image] [text]" alignment.
Eric Miller
@ericmiller777
Aug 06 2017 07:48
@denisinvader i been reading, yea it seems i have to learn to use ajax instead of GET
andrea
@girlcodecrush
Aug 06 2017 07:49
Do I need to use <div id = > tag in html?
Eric Miller
@ericmiller777
Aug 06 2017 07:49
but it looks really complicated :(
andrea
@girlcodecrush
Aug 06 2017 07:50
I use div id tag at the same time, but the result got messy. Texts and images are overlapped with the texts still below the images.
Can anyone show me the code that aligns like [image] [text] using flexbox?
andrea
@girlcodecrush
Aug 06 2017 08:15
I'm almost done with my tribute page. One thing I want to put a touch on is flexbox. My trial wasn't successful. Here's my tribute page below. Your feedback would be appreciated. https://codepen.io/girlcodecrush/pen/yXKaYb
Johnny
@JohnnyBizzel
Aug 06 2017 08:16
@girlcodecrush Alignment can be done in many ways. Be more specific.
@girlcodecrush styles are meant to go in the CSS code block on codepen. This makes things easier for us to read.
@girlcodecrush The JS is just adding more style? Very confusing.
andrea
@girlcodecrush
Aug 06 2017 08:24
Thanks for your comment. Johnny. I attemped to use flexbox to have [image] [text] alginment, but didn't make it. What's wrong with my code?
@JohnnyBizzel Thanks for your comment. Johnny. I attemped to use flexbox to have [image] [text] alginment, but didn't make it. What's wrong with my code?
CamperBot
@camperbot
Aug 06 2017 08:25
girlcodecrush sends brownie points to @johnnybizzel :sparkles: :thumbsup: :sparkles:
:star2: 1734 | @johnnybizzel |http://www.freecodecamp.com/johnnybizzel
Johnny
@JohnnyBizzel
Aug 06 2017 08:28

@girlcodecrush An example: the CSS is in the CSS window and the HTML is in the HTML window: https://codepen.io/Zuroslaw/pen/vXkGPy

Momozor
@momozor
Aug 06 2017 08:43
@ashishsb95 You can use raw jquery + Ajax. Or you can try - http://sharrre.com/
andrea
@girlcodecrush
Aug 06 2017 08:47
What I mean is an image comes first and the description text next to the image in one row.
Dean
@SupernaturalDean
Aug 06 2017 08:51
HI guys ! Can i use Boolstrap to put pictures side by side?
Johnny
@JohnnyBizzel
Aug 06 2017 08:52
@SupernaturalDean you can use CSS for that I believe
Dean
@SupernaturalDean
Aug 06 2017 08:53
Johnny
@JohnnyBizzel
Aug 06 2017 08:55
@SupernaturalDean These boxes are side by side - if you add images to them, they will be side by side: https://codepen.io/HugoGiraudel/pen/2bfe2c024739bdd4098572f87d1bf585
Dean
@SupernaturalDean
Aug 06 2017 08:57
@JohnnyBizzel Thanks,this help a lot
CamperBot
@camperbot
Aug 06 2017 08:57
supernaturaldean sends brownie points to @johnnybizzel :sparkles: :thumbsup: :sparkles:
:star2: 1735 | @johnnybizzel |http://www.freecodecamp.com/johnnybizzel
Johnny
@JohnnyBizzel
Aug 06 2017 08:58
@SupernaturalDean :+1:
andrea
@girlcodecrush
Aug 06 2017 08:58
@marmiz With flexbox, I tried to make three rows of [image] [ text] alignment, but could't make it. Below is my code. Could you correct my code?
.flex-container {
margin:0;
list-style:none;
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: flex-start;
align-items: flex-start;
}
.flex-item {
width:668px;
height: 451px;
order:2;
text-align: center;
font-family: monospace;
font-size: 15px;
color: black;
font-style : italic;
}
Johnny
@JohnnyBizzel
Aug 06 2017 08:58
@girlcodecrush Could you look at the example I sent you & @SupernaturalDean
I have a question folks:
How do I receive email from people in my portfolio through a form?
Do I give the "send button" a link to an email address?
Johnny
@JohnnyBizzel
Aug 06 2017 09:00
@oatz You could use this: https://formspree.io/ (third party provider)
iso
@iso1048
Aug 06 2017 09:03
@oatz someone posted this in the other chat i while ago: http://blog.teamtreehouse.com/create-ajax-contact-form
@gothamknight @JohnnyBizzel Thanks guys!
I'll look it up now. Curious why the "name" attribute is required
CamperBot
@camperbot
Aug 06 2017 09:06
oatz sends brownie points to @gothamknight and @johnnybizzel :sparkles: :thumbsup: :sparkles:
:star2: 1736 | @johnnybizzel |http://www.freecodecamp.com/johnnybizzel
Johnny
@JohnnyBizzel
Aug 06 2017 09:07
@oatz where is the "name" attribute required?
andrea
@girlcodecrush
Aug 06 2017 09:08
@JohnnyBizzel I have three images and corresponding texts. The result I want is in each row, the image comes first and then, the text. So in the given example, where exactly do I need to add image? under .flex-item css?
Johnny
@JohnnyBizzel
Aug 06 2017 09:09
@girlcodecrush Which of these alignments are you trying to achieve? https://www.w3.org/TR/css-flexbox-1/images/flex-align.svg
Klar-t
@Klar-t
Aug 06 2017 09:09
Why do some URLs need to manually enter HTTPS in the address bar?
Johnny
@JohnnyBizzel
Aug 06 2017 09:10
@Klar-t it adds encryption - for example when internet banking
andrea
@girlcodecrush
Aug 06 2017 09:11
@JohnnyBizzel It is flex-start.
Klar-t
@Klar-t
Aug 06 2017 09:12
But sometimes it OK？why?
@JohnnyBizzel
Johnny
@JohnnyBizzel
Aug 06 2017 09:12
@Klar-t what ok?
Klar-t
@Klar-t
Aug 06 2017 09:13
url
Johnny
@JohnnyBizzel
Aug 06 2017 09:13
@Klar-t Half past five
andrea
@girlcodecrush
Aug 06 2017 09:14
If you look at my tribute page, on the bottom, there are three images and below each iamge, the text comes. I want to move each block of text to the right-hand side of each image. Herehttps://codepen.io/girlcodecrush/pen/yXKaYb
Klar-t
@Klar-t
Aug 06 2017 09:14
Thanks!
Johnny
@JohnnyBizzel
Aug 06 2017 09:14
@girlcodecrush I recommend you put things you want to align inside divs
@JohnnyBizzel its says in the link you sent in step 2) that a name attribute is required to ensure data being sent. I answered my own question haha
Johnny
@JohnnyBizzel
Aug 06 2017 09:18
@oatz :eyes: Well done!
andrea
@girlcodecrush
Aug 06 2017 09:18
@JohnnyBizzel moved style tag to css block
Johnny
@JohnnyBizzel
Aug 06 2017 09:32
@girlcodecrush I have added border on the divs to illustrate where the divs are https://codepen.io/JohnnyBizzel/pen/ayppgr
Tim Bakker
@ixava
Aug 06 2017 09:40
Hey everyone, does anyone know if theres a place on fcc to get your projects code reviewed? To get tips on code structure and best practices etc?
andrea
@girlcodecrush
Aug 06 2017 09:49
@JohnnyBizzel i was very close. I used div id tag and the result was even messier. Thanks a million! :)
CamperBot
@camperbot
Aug 06 2017 09:49
girlcodecrush sends brownie points to @johnnybizzel :sparkles: :thumbsup: :sparkles:
:star2: 1737 | @johnnybizzel |http://www.freecodecamp.com/johnnybizzel
Johnny
@JohnnyBizzel
Aug 06 2017 09:50
@girlcodecrush Anytime ;)
heroiczero
@heroiczero
Aug 06 2017 10:15
@ixava you can post your code here or https://gitter.im/FreeCodeCamp/CodeReview and people could look at your project and review it
Tim Bakker
@ixava
Aug 06 2017 10:17
@heroiczero Thanks :)
CamperBot
@camperbot
Aug 06 2017 10:17
ixava sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 1579 | @heroiczero |http://www.freecodecamp.com/heroiczero
Damilare
@iamoldham
Aug 06 2017 10:29
Hello all, how can I get started to developing an elearning platform?
Aminu Ibrahim Abubakar
@aminukano585
Aug 06 2017 10:36
@iamoldham start from here https://elearningindustry.com/creating-online-learning-platform-scratch it might be of some help
Damilare
@iamoldham
Aug 06 2017 10:39
@AminuSufi585 Thank you.
CamperBot
@camperbot
Aug 06 2017 10:39
iamoldham sends brownie points to @aminusufi585 :sparkles: :thumbsup: :sparkles:
Aminu Ibrahim Abubakar
@aminukano585
Aug 06 2017 10:39
You're welcome!
andrea
@girlcodecrush
Aug 06 2017 10:45
@JohnnyBizzel There is one more to ask for a help about. The original images (the last 3 imamges) don't shrink. So part of the text overlaps with the image. How can I adjust the size of the images? Do i need to put style specifics in each of the image tag, like <img style="width:70%" ......>?
Aminu Ibrahim Abubakar
@aminukano585
Aug 06 2017 10:47
@girlcodecrush use css to resize your image.. its far better
Johnny
@JohnnyBizzel
Aug 06 2017 10:47
@girlcodecrush Another technique would be to have the images as backgrounds - then re-adjust the size of the div container.
g2g, gl!
andrea
@girlcodecrush
Aug 06 2017 10:49
@JohnnyBizzel That's new to me. will try to figure it out. Thanks!
CamperBot
@camperbot
Aug 06 2017 10:49
girlcodecrush sends brownie points to @johnnybizzel :sparkles: :thumbsup: :sparkles:
:star2: 1738 | @johnnybizzel |http://www.freecodecamp.com/johnnybizzel
Jill Lee
@jill-lee
Aug 06 2017 11:05
Aminu Ibrahim Abubakar
@aminukano585
Aug 06 2017 11:08
@phoenix-burn What's wrong with it? I see that everything is perfectly okay in both pages.
Jill Lee
@jill-lee
Aug 06 2017 11:11

Really? The portfolio section and the overlay doesnt work pretty much everything on github as if there are no css

@AminuSufi585

Aminu Ibrahim Abubakar
@aminukano585
Aug 06 2017 11:13
Ok yeah I realise the problem.. let's check
GeorgeII
@GeorgeII
Aug 06 2017 11:15
Do I have to make 2 players mode in Tic tac toe challange?
or I can just make only me versus computer mode?
Aminu Ibrahim Abubakar
@aminukano585
Aug 06 2017 11:18
@phoenix-burn I can't figure out the problem, but you should try validating your html and css files using validators, and also make sure its the same codes in codepen you're pushing to your gh-pages repo on github.
Jill Lee
@jill-lee
Aug 06 2017 11:19
@AminuSufi585 it is im not sure whats wrong. I know it will take github some time to process the code but not this long. I'll try validators. Thanks
CamperBot
@camperbot
Aug 06 2017 11:19
phoenix-burn sends brownie points to @aminusufi585 :sparkles: :thumbsup: :sparkles:
Aminu Ibrahim Abubakar
@aminukano585
Aug 06 2017 11:20
You're welcome!
Emmanuel Akodia
@akodiaemma
Aug 06 2017 11:57
can anyone help me with the positioning
the responsiveness of the page isnot great
Darth Skywalker
Aug 06 2017 12:05
@akodia488 meeseeks :wave:
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:07
Darth Skywalker
Aug 06 2017 12:08
Right now? No I'm not
What you got?
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:12
i can send you the code for the precise problem...hold up
@AdiSkywalker same issue kinda..... i am trying to understand why the divs are overlapping
Darth Skywalker
Aug 06 2017 12:13
@akodia488 you got codepen?
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:14
@AdiSkywalker https://codepen.io/akodia/pen/KmjQwY check it out..it looks okay on a large screen but when i reduce in size,..it gets funny
Darth Skywalker
Aug 06 2017 12:15
okay
Where do you want that My Expertise to show up?
Below hiring availability button?
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:22
below the hiring part
network failure here
i apologize for the long reply
bt
so..do you think you can nail it
Darth Skywalker
Aug 06 2017 12:25
@akodia488 I did
in your .code-pirate
get rid of position: absolute;
and all is good
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:33
from absolute what attribute do i change it to
after changing it to nothing
it made the background image weird
can i just send you a zip email with how far i have gone then you check it out for me
Darth Skywalker
Aug 06 2017 12:35
@akodia488 just remove it.. Don't specify position
Just make changes on your code pen and save them.. I'll be able to see them here
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:38
@AdiSkywalker okay..i have done that but the display got a little worse when i made my browser the size of a phone
i have an issue with the responsiveness bascially
i have madea few improvements of my own but i really think that if i sent you a zio file of the entire website, you wiuld easily make the change
Darth Skywalker
Aug 06 2017 12:40
It's just ineffcient especially when we have live environment like codepen
I can see the changes you make in real time
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:41
@AdiSkywalker okay..have you seen the page behaviour once you reduce the screen size?
it gets a little weird
Darth Skywalker
Aug 06 2017 12:43
Yes.. I'm looking at it right now
will send you my recommendations in a few mins
I got the problem
First thing is on your div with id="particles-js"
change it's class from jumbotron to container or container-fluid
second. on your .code-pirate
you have fixed padding of 100px on top and left.
this is applied irrespective of screen size
you need to write media query for this class
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:47
Darth Skywalker
Aug 06 2017 12:48
won't change a thing...
just do the standard way... Use media query
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:48
@AdiSkywalker alright let me check out media queries then get back to you bro
Darth Skywalker
Aug 06 2017 12:48
Second your markup organization is problematic
you have nav and then just random floating divs
It's like this as of now
<nav>
<!-- Some brilliant nav-->
</nav>
<div id="particle-js">
</div>
<div again-some-div></div>
<div again-some-div></div>
<div again-some-div></div>
Wrap all the floating divs in a container-fluid
like
<nav>
<!-- Some brilliant nav-->
</nav>
<div class="container-fluid">
<div id="particle-js"></div>
<div again-some-div></div>
<div again-some-div></div>
<div again-some-div></div>
</div>
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:52
alright..let me do that
Darth Skywalker
Aug 06 2017 12:53
next get rid of all those nasty <br> tags
that's a real source of evil
Emmanuel Akodia
@akodiaemma
Aug 06 2017 12:56
@AdiSkywalker hahaha i get you..... i had a feeling they came with a price to pay
Darth Skywalker
Aug 06 2017 13:19
:laughing:
fix these first will send you more recommendations sooon
Arun Pattni
@ApCoder123
Aug 06 2017 13:44
I've been playing around with react, but I'm getting a compilation error. Does anyone know what this is?
Failed to compile.

Error in
Module build failed: TypeError: Cannot read property 'length' of null
@ ./src/Landing/landing.js 14:8-19
Albert Cardona II
Aug 06 2017 13:49
@phoenix-burn it was fun :)
your variable length haves a null value
post the code
@ApCoder123
Arun Pattni
@ApCoder123
Aug 06 2017 13:52
Albert Cardona II
Aug 06 2017 13:54
is this the same thing you get when your
you're in your C directory and on github
Kyle Holm
@thekholm80
Aug 06 2017 13:57
@ApCoder123 what is import Particle from '';?
in ./src/Landing/landing.js
Kelechi Chinaka
@ke1echi
Aug 06 2017 13:58
any ideas when beta fcc will go live @thekholm80 @AdiSkywalker
Arun Pattni
@ApCoder123
Aug 06 2017 13:58
@thekholm80 I don't know how that happened. it was import Particle from 'react-particles-js';
Kyle Holm
@thekholm80
Aug 06 2017 13:58
@kelechy I've not heard a firm date, some are saying maybe November but I don't know how reliable that is
@ApCoder123 if you change that, do you get the same error?
Arun Pattni
@ApCoder123
Aug 06 2017 14:00
@thekholm80 I just changed it and it's working now. Thanks but I'm still not sure how that happened
CamperBot
@camperbot
Aug 06 2017 14:00
apcoder123 sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1428 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Kyle Holm
@thekholm80
Aug 06 2017 14:00
@ApCoder123 :+1:
Kelechi Chinaka
@ke1echi
Aug 06 2017 14:00
i think they might not meet the nov deadline @thekholm80
Kyle Holm
@thekholm80
Aug 06 2017 14:00
@kelechy it seems like they have a lot of work left
Kelechi Chinaka
@ke1echi
Aug 06 2017 14:01
yea @thekholm80
Albert Cardona II
Aug 06 2017 14:04
Question on the twitch site, how can I tell if someon is on a certain channel or online from the json call? I called channel, stream, user and it does not say online. Is it the fact that if I call the stream of some channed it is not null?
Kyle Holm
@thekholm80
Aug 06 2017 14:05
yep
if you get null, they're offline
Albert Cardona II
Aug 06 2017 14:06
Oh okay,
so how do I know what users are in a channel it don't show that? or do I call everyone that is in that array of people on the side of the fcc challenge. I have been looking for the proper call this whole time
@thekholm80
Kyle Holm
@thekholm80
Aug 06 2017 14:07
@daddycardona I'm not sure what you mean
Albert Cardona II
Aug 06 2017 14:08
So if they have a live stream and 3 people are watching the stream how can I tell whom they are?
Kyle Holm
@thekholm80
Aug 06 2017 14:08
oh, i don't know
i just made an array of the channel names, called the 'channel' api to get information about each channel then called the 'stream' api to see if they were online or not
Albert Cardona II
Aug 06 2017 14:09
It has change that challenge because I have to have an api key now and I fixed that lol
Kyle Holm
@thekholm80
Aug 06 2017 14:09
you don't need an api key
Albert Cardona II
Aug 06 2017 14:09
Oh okay well that works for me
Kyle Holm
@thekholm80
Aug 06 2017 14:09
and you shouldn't use any api that requires a key in codepen
Albert Cardona II
Aug 06 2017 14:10
yes you do now even the other api they have for it does not work lol
Kyle Holm
@thekholm80
Aug 06 2017 14:10
these are the apis i used, they're working
hmm, my background image is not working though lol
Albert Cardona II
Aug 06 2017 14:12
Yes alot of the bg images are not for a lot of peoples
the other funny thing is in the windbow channels it says offline img
Albert Cardona II
Aug 06 2017 14:19
I was using that api wrong that was my issue but I got a free key anyways and it looks nice lol
Albert Cardona II
Aug 06 2017 14:35
anyways thanks @thekholm80
CamperBot
@camperbot
Aug 06 2017 14:35
daddycardona sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1429 | @thekholm80 |http://www.freecodecamp.com/thekholm80
@diomed
Aug 06 2017 16:20
@akodia488 your github icon is shaking out of fear
Uriel Guzmán
@Burinson
Aug 06 2017 16:50
Is the "mist" weather icon from the FCC weather API broken?
I can't make it show on my weather app
all other icons do show
It just shows a broken image
Razvan
@razvanlikespizza
Aug 06 2017 16:56
How to do a triangle like this JUST WITH CSS? :( I tried,I tired but I cant.
@diomed
Aug 06 2017 16:56
• --- -.. .- -.-- .. ... -- -.-- -... .. .-. - .... -.. .- -.--
Razvan
@razvanlikespizza
Aug 06 2017 16:57
@diomed What's up?
Stephane
@overmelo
Aug 06 2017 17:03
Razvan
@razvanlikespizza
Aug 06 2017 17:03
@overmelo I tried,I cant understand any code.. :(
Stephane
@overmelo
Aug 06 2017 17:05
try to know what each properties do @razvanlikespizza .
Razvan
@razvanlikespizza
Aug 06 2017 17:06
@overmelo ...:/ Okay..
Stephane
@overmelo
Aug 06 2017 17:08
@razvanlikespizza should be animations, right?
Razvan
@razvanlikespizza
Aug 06 2017 17:08
@overmelo Nope,it should be a simple form like that.
@overmelo And just CSS. :/
Stephane
@overmelo
Aug 06 2017 17:10
do u want to upload an image or u want to create a canvas? @razvanlikespizza
Razvan
@razvanlikespizza
Aug 06 2017 17:12
@overmelo I want to create an image like that,just with CSS...:|
Stephane
@overmelo
Aug 06 2017 17:12
ok
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 17:16
@razvanlikespizza check this https://css-tricks.com/examples/ShapesOfCSS/
Razvan
@razvanlikespizza
Aug 06 2017 17:16
@ravikishorethella I can do the triangle form,but what about the colors? :((
Austin Wiggins
@austinwiggins
Aug 06 2017 17:17
@razvanlikespizza just change the background-color to whatever you want it to be
Razvan
@razvanlikespizza
Aug 06 2017 17:17
@austinwiggins It transforms in a square if I change it with linear gradient.
Ravi Kishore Thella
@ravikishorethella
Aug 06 2017 17:19
@razvanlikespizza check this as well https://codepen.io/creme/pen/ntvqe
Austin Wiggins
@austinwiggins
Aug 06 2017 17:19
@razvanlikespizza maybe you should just stick with one solid color
asbringim
@asbringim
Aug 06 2017 17:22
can't find d solution. myVar = myVar should be changed
Razvan
@razvanlikespizza
Aug 06 2017 17:22
@austinwiggins I cant... :3
Austin Wiggins
@austinwiggins
Aug 06 2017 17:23
@razvanlikespizza why?
Razvan
@razvanlikespizza
Aug 06 2017 17:23
@austinwiggins I need to create a slice of pizza....And just 1 color?
Austin Wiggins
@austinwiggins
Aug 06 2017 17:25
@razvanlikespizza ohhh, I think the best method for that would be for you to create many shapes with one solid color and, using absolute & relative positioning, create it from there...
Razvan
@razvanlikespizza
Aug 06 2017 17:26
@austinwiggins Yeah,but it has a rounded part and its kinda hard to reproduce that.
Austin Wiggins
@austinwiggins
Aug 06 2017 17:27
@razvanlikespizza Oh, that's too bad. I wish I knew how to help but I'm not really an expert at CSS, sorry :(
Razvan
@razvanlikespizza
Aug 06 2017 17:27
@austinwiggins I appreciate you tried.thanks.
CamperBot
@camperbot
Aug 06 2017 17:27
razvanlikespizza sends brownie points to @austinwiggins :sparkles: :thumbsup: :sparkles:
Austin Wiggins
@austinwiggins
Aug 06 2017 17:28
Sure thing @razvanlikespizza. Good luck and all the best!
Razvan
@razvanlikespizza
Aug 06 2017 17:29
@austinwiggins :)
@diomed
Aug 06 2017 17:37
@razvanlikespizza use css gradients 4 background
Razvan
@razvanlikespizza
Aug 06 2017 17:37
@diomed Doesnt work.. :/
@diomed Just solid colors.
Margaret
@Margaret2
Aug 06 2017 17:47
@diomed hi :sunny:
lizangie
@Lizangie
Aug 06 2017 17:52
@ahh chevere, hola
Mike Batista
@mbmontana
Aug 06 2017 17:59
My first day of JavaScript.
I have to: Assign the value 7 to variable a. Assign the contents of a to variable b.
And I don't even understand what this means:
Assignment always goes from right to left. Everything to the right of the = operator is resolved before the value is assigned to the variable to the left of the operator.
Help!
var a = 7;
var b;
a = 7;
b = a;
// Setup
var a;
var b = 2;

// Only change code below this line
Margaret
@Margaret2
Aug 06 2017 18:03
@mbmontana the top portion looks fine, delete the bottom two lines
it's messing up because you didn't follow where it said Only change code below this line lol
@diomed
Aug 06 2017 18:05
hi @Margaret2 :tiger:
Margaret
@Margaret2
Aug 06 2017 18:06
and about that paragraph, take an example: var x = 2 + 4;
in this case, the expression on the right (2+4) is resolved to the value 6
then the value of 6 is stored in the variable on the left, which is x
@mbmontana
@diomed
Aug 06 2017 18:07
@Margaret2 decypher this :point_up: August 6, 2017 6:56 PM hue hue hue it's new GOT spoiler
Margaret
@Margaret2
Aug 06 2017 18:07
@diomed lol morse code?
why would i want a spoiler :laughing:
Mike Batista
@mbmontana
Aug 06 2017 18:07
@Margaret2 That makes sense.
@diomed
Aug 06 2017 18:07
purrhaps
Margaret
@Margaret2
Aug 06 2017 18:08
@diomed i'm watching a chinese historical drama now to practice my chinese
i recognize a lot of words and i can understand some of the sentences, but i still need the subtitles lol
@diomed
Aug 06 2017 18:09
sounds like my english
Margaret
@Margaret2
Aug 06 2017 18:10
i'm finally watching a real tv show :joy:
@diomed
Aug 06 2017 18:10
chinese historical drama is not a real tv show
Margaret
@Margaret2
Aug 06 2017 18:10
it was on tv in china ...
@diomed
Aug 06 2017 18:10
:yum:
GOT is real TV show
Margaret
@Margaret2
Aug 06 2017 18:10
got is so dirty tho
@diomed
Aug 06 2017 18:11
really? I didn't notice
:angel:
Margaret
@Margaret2
Aug 06 2017 18:11
i just watch summaries of what happened
Amanda Perez
@Aperez007
Aug 06 2017 18:11
anyone familiar with flask and using pip?
@diomed
Aug 06 2017 18:11
oh lol
I'm familiar with first part
Margaret
@Margaret2
Aug 06 2017 18:11
@Aperez007 not me, sorry
@diomed
Aug 06 2017 18:12
Margaret
@Margaret2
Aug 06 2017 18:12
@diomed you use php right? :smiling_imp:
Amanda Perez
@Aperez007
Aug 06 2017 18:12
could use some whiskey!
@diomed
Aug 06 2017 18:12
no. that's a joke some guys have on me
Margaret
@Margaret2
Aug 06 2017 18:12
hmm
Amanda Perez
@Aperez007
Aug 06 2017 18:12
I'm calling pip to install flask and its not working
@diomed
Aug 06 2017 18:13
Manish Giri is a darn liar
just to mock me :sob:
I use stuff that runs on php, tho.
@forkerino are those holidays ready yet?
hue hue hue :smiling_imp:
Margaret
@Margaret2
Aug 06 2017 18:15
@Aperez007 fcc is mainly for html/css/js, but you could also ask in the main room i guess https://gitter.im/FreeCodeCamp/FreeCodeCamp
@diomed
Aug 06 2017 18:18
@Margaret2 didn't solve my morse code :sob:
I thought she's :shipit:
mstellaluna
@mstellaluna
Aug 06 2017 18:18
@Aperez007 python questions are best asked in the FCC python room: https://gitter.im/FreeCodeCamp/python but I don't think anyone has been online in there this weekend. If you have the latest version of python try installing using pip3 rather than pip. If you are on Linux and using pip to install, if you aren't specifying the specific path you want to install flask to since pip does a global install, you need to sudo to get the appropriate permissions to install on a global level.
Margaret
@Margaret2
Aug 06 2017 18:20
@diomed i told you i didn't want a spoiler :laughing:
@diomed
Aug 06 2017 18:22
@Margaret2 I was joking . that 's not a GOT spoiler.
Margaret
@Margaret2
Aug 06 2017 18:24
@diomed
Aug 06 2017 18:25
whaaat? O.o really? :yum:
Margaret
@Margaret2
Aug 06 2017 18:27
Happy Birthday @diomed ty :tada: :smile: :smile:
CamperBot
@camperbot
Aug 06 2017 18:27
margaret2 sends brownie points to @diomed :sparkles: :thumbsup: :sparkles:
:star2: 5202 | @diomed |http://www.freecodecamp.com/diomed
Daniel Ahn
@danii956
Aug 06 2017 18:50
Is it a good idea to edit Bootstrap classes? Or is it encouraged to use a bootstrap generator http://getbootstrap.com/customize/#navbar?
@diomed
Aug 06 2017 19:03
@danii956 yeah, u can overwrite them with your own values. that's nothing unusual
korzo
@korzo
Aug 06 2017 19:10
@danii956 You can even compile bootstrap with own values
Daniel Ahn
@danii956
Aug 06 2017 19:11
Kk thanks @diomed @korzo
CamperBot
@camperbot
Aug 06 2017 19:11
danii956 sends brownie points to @diomed and @korzo :sparkles: :thumbsup: :sparkles:
:star2: 5203 | @diomed |http://www.freecodecamp.com/diomed
Albert Cardona II
Aug 06 2017 19:32
Can some help me add a new line because \n is not working or <br>
Tiago Correia
@tiagocorreiaalmeida
Aug 06 2017 19:49
any one can help me with thios?
Gulsvi
@gulsvi
Aug 06 2017 19:51

    display: flex;
align-content: center;
align-items: center;

^^ That needs to be applied to a single element that wraps the content you want to vertically center

Albert Cardona II
Aug 06 2017 19:53
Okay let me take it out :)
thank you @SkyC0der
CamperBot
@camperbot
Aug 06 2017 19:57
daddycardona sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 2321 | @skyc0der |http://www.freecodecamp.com/skyc0der
Darth Skywalker
Aug 06 2017 19:57

@daddycardona Here is a general pattern that you might find useful

.f {
display:flex;
flex: 1;
}

.c{
flex-direction: column;
}

.jcc{
align-items: center;
justify-content: center;
}

and in html

<div class="f c jcc">
<div> Some vertically and horizontally aligned content</div>
</div>
Albert Cardona II
Aug 06 2017 19:58
do you have a codepen that shows that if not I will use that :)
if not I will make one i mean and use it
Darth Skywalker
Aug 06 2017 19:59
@diomed
Aug 06 2017 19:59
Albert Cardona II
Aug 06 2017 19:59
LOL
Darth Skywalker
Aug 06 2017 19:59
@diomed jcc for justify content center
Gulsvi
@gulsvi
Aug 06 2017 19:59
@tiagocorreiaalmeida For that error, press Ctrl+C to cancel the package.json creation and then run npm help
fcc for fixed content center
?
Darth Skywalker
Aug 06 2017 20:01
Albert Cardona II
Aug 06 2017 20:02
hey how come I put I just did it but okay thanks ;)
.
So what I was really trying to ask now, is how come my picture size not cover?
@AdiSkywalker thanks I just did that for my self ;)
CamperBot
@camperbot
Aug 06 2017 20:05
Lindsey DAngelo
@ldangelo41
Aug 06 2017 20:15
https://codepen.io/ldangelo41/pen/vJEQyv?editors=1100 can anyone tell me why my css isnt working for my <p> tag
ricpconsulting
@ricpconsulting
Aug 06 2017 20:21
I only see h2
Gulsvi
@gulsvi
Aug 06 2017 20:22
@ldangelo41 Looks like you have a period after 'Serif' instead of a comma:
p {
font-family: 'Serif'. Avant-Garde;
font-weight: 600;
color: #A9A9A9;
}
You'll need to get rid of your <center> tags too - those are deprecated, use text-align: center instead
And, you'll probably need to be as specific as bootstrap:
.jumbotron p {
color: #A9A9A9;
font-family: 'Serif', Avant-Garde;
font-weight: 600;
text-align: center;
}
Lindsey DAngelo
@ldangelo41
Aug 06 2017 20:23
thanks!
Gulsvi
@gulsvi
Aug 06 2017 20:24
@ldangelo41 you're welcome
Daniel Ahn
@danii956
Aug 06 2017 21:24
Can someone take a look at my codepen and see why my image is not being responsive? My image is bigger than the parent it contains when I shrink it. https://codepen.io/danii956/full/PKbgGJ/
Razvan
@razvanlikespizza
Aug 06 2017 21:27
@danii956 77iH1VZ.png Failed to load resource: the server responded with a status of 403 (Forbidden)
Fix the location.
Razvan
@razvanlikespizza
Aug 06 2017 21:30
@danii956 Same error!
Daniel Ahn
@danii956
Aug 06 2017 21:31
@razvanlikespizza Hm... all I need to do is copy the url right?
Razvan
@razvanlikespizza
Aug 06 2017 21:31
To be sure its HTTPS (otherwise its blocked for security reasons)>
Daniel Ahn
@danii956
Aug 06 2017 21:33
well, I think the link includes the https doesn't it?
Razvan
@razvanlikespizza
Aug 06 2017 21:33
@danii956 On my website its working 100% : http://razvanel.cf/77iH1VZ.png Test it.I can delete it if you want.
@danii956 Not always HTTP is blocked...but its good to know. (more important elements are blocked).
@danii956 I can delete that anytime you want...just test it.
Daniel Ahn
@danii956
Aug 06 2017 21:36
Umm its png so I can't access it now
Razvan
@razvanlikespizza
Aug 06 2017 21:37
@danii956 What?
Daniel Ahn
@danii956
Aug 06 2017 21:37
You mean my code is working on your website right?
Razvan
@razvanlikespizza
Aug 06 2017 21:38
No, I uploaded the photo on my website ,and if you use that link in codepen its working.
@danii956
Daniel Ahn
@danii956
Aug 06 2017 21:41
Hmm... It's still not working for me. I'm using Chrome. Have you tried it on your browser? @razvanlikespizza
Razvan
@razvanlikespizza
Aug 06 2017 21:42
@danii956
Daniel Ahn
@danii956
Aug 06 2017 21:42
So when you change the width to a mobile size, my image shrinks? @razvanlikespizza
Razvan
@razvanlikespizza
Aug 06 2017 21:43
@danii956 Nope, it doesnt.How do you wanna make it shrink?
Ala Pota
@alapota
Aug 06 2017 21:47
Thanks @Takumar it works now!
CamperBot
@camperbot
Aug 06 2017 21:47
alapota sends brownie points to @takumar :sparkles: :thumbsup: :sparkles:
:star2: 3779 | @takumar |http://www.freecodecamp.com/takumar
Daniel Ahn
@danii956
Aug 06 2017 21:49
@razvanlikespizza '<div id="introImg" class="col-xs-4">
<img class="img-responsive" src="http://razvanel.cf/77iH1VZ.png" alt="A picture of Young Jae taken in front of University of Illinois quad">
</div> ' I'm trying to use the Bootstrap's img-responsive class in order to resize the picture accordingly.
Razvan
@razvanlikespizza
Aug 06 2017 21:49
@danii956 Put in the same container with the paragraph.
Aleksander Gębicki
@Takumar
Aug 06 2017 21:54
@alapota you're welcome
Daniel Ahn
@danii956
Aug 06 2017 21:54
Both the paragraph and the image are in <div class='jumbotron'> but separated with <div class='col-xs-8'><p></p></div> and <div class='col-xs-4'><img></div> inside the parent element with class='jumbotron'. So they are in the same container in that sense but cannot put the img inside <div class='col-xs-8'> or else bootstrap grid system will not behave correctly. @razvanlikespizza
Razvan
@razvanlikespizza
Aug 06 2017 21:55
@danii956 Not that far...put in the container ,same as paragraph.
@danii956 I saw it is ,lol.Sorry :))
Daniel Ahn
@danii956
Aug 06 2017 21:56
@razvanlikespizza lol no worries
Razvan
@razvanlikespizza
Aug 06 2017 21:57
@danii956 Put the width for the image, class='img-responsive col-xs-x'
<img class="img-responsive col-xs-12"
@danii956 IT WORKS!
Daniel Ahn
@danii956
Aug 06 2017 21:59
Oh wow thank you! @razvanlikespizza
CamperBot
@camperbot
Aug 06 2017 21:59
danii956 sends brownie points to @razvanlikespizza :sparkles: :thumbsup: :sparkles:
Razvan
@razvanlikespizza
Aug 06 2017 21:59
:)
Razvan
@razvanlikespizza
Aug 06 2017 22:05
@danii956 CHANGE THE LINK! Imgur is not good for that.
Daniel Ahn
@danii956
Aug 06 2017 22:05
@razvanlikespizza What do you recommend me to use?
Razvan
@razvanlikespizza
Aug 06 2017 22:05
Daniel Ahn
@danii956
Aug 06 2017 22:07
lol looks good. Appreciate the help again @razvanlikespizza
Kyle Holm
@thekholm80
Aug 06 2017 22:21
@Margaret2 x
Margaret
@Margaret2
Aug 06 2017 22:23
@thekholm80 :joy: :joy: :joy: :heart_eyes: :heart_eyes: :heart_eyes: it's so cuuute
Kyle Holm
@thekholm80
Aug 06 2017 22:23
i wish i could reverse it
Razvan
@razvanlikespizza
Aug 06 2017 22:23
Guys,do you know how to do a 3D effect in CSS?
Kyle Holm
@thekholm80
Aug 06 2017 22:24
anything fancier than that is beyond me
Joseph
@revisualize
Aug 06 2017 22:24
@razvanlikespizza Agree with @thekholm80 ... use shadows
Razvan
@razvanlikespizza
Aug 06 2017 22:25
@thekholm80 That sounds interesting.I didint think at that till now. Thank you , I will try.
CamperBot
@camperbot
Aug 06 2017 22:25
razvanlikespizza sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1430 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Joseph
@revisualize
Aug 06 2017 22:25
Razvan
@razvanlikespizza
Aug 06 2017 22:25
@revisualize Yup,but I find just complicated things.
@razvanlikespizza You're talking about a complicated process.
Razvan
@razvanlikespizza
Aug 06 2017 22:27
@revisualize Thanks. I will try to reproduce that.
CamperBot
@camperbot
Aug 06 2017 22:27
razvanlikespizza sends brownie points to @revisualize :sparkles: :thumbsup: :sparkles:
:star2: 4414 | @revisualize |http://www.freecodecamp.com/revisualize
Razvan
@razvanlikespizza
Aug 06 2017 22:27
@revisualize I didn't searched that.
Joseph
@revisualize
Aug 06 2017 22:27
@razvanlikespizza If you're trying to do something complicated ... You're going to find complicated results.
Razvan
@razvanlikespizza
Aug 06 2017 22:28
@revisualize I am not...:3
@revisualize Maybe I make it complicated.
Joseph
@revisualize
Aug 06 2017 22:29
@razvanlikespizza Maybe check out https://codepen.io/sean_codes/
Razvan
@razvanlikespizza
Aug 06 2017 22:32
@revisualize @thekholm80 Thanks..
CamperBot
@camperbot
Aug 06 2017 22:32
razvanlikespizza sends brownie points to @revisualize and @thekholm80 :sparkles: :thumbsup: :sparkles:
:warning: razvanlikespizza already gave thekholm80 points
:warning: razvanlikespizza already gave revisualize points
Razvan
@razvanlikespizza
Aug 06 2017 22:33
xD
stealthygame
@stealthygame
Aug 06 2017 22:33
Anyone able to dumb down the Arguments Optional problem in the "Intermediate" algorithms section ?
Razvan
@razvanlikespizza
Aug 06 2017 22:40
Uhmmm..:|
Kyle Holm
@thekholm80
Aug 06 2017 22:41
all i did was add border-radius: 10px; in the .box css
Razvan
@razvanlikespizza
Aug 06 2017 22:42
@thekholm80 I see. :) <3
" In the game of golf each hole has a par meaning the average number of strokes ".
May I know what "par"and "strokes" means? I dont have any ideea.
Kyle Holm
@thekholm80
Aug 06 2017 22:43
if a hole is "Par 3" that means to make "par" you have to get the ball in the hole in 3 shots
2 shots on a par 3 is a 'birdie', 1 shot is a "Hole in One", 4 shots is a 'Bogey', 5 shots is a 'Double Bogey'
Razvan
@razvanlikespizza
Aug 06 2017 22:44
@thekholm80 Do you play Golf or what? xD
Kyle Holm
@thekholm80
Aug 06 2017 22:44
most days
Razvan
@razvanlikespizza
Aug 06 2017 22:45
@thekholm80 Thats cool! Thanks by the way.
CamperBot
@camperbot
Aug 06 2017 22:45
razvanlikespizza sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:warning: razvanlikespizza already gave thekholm80 points
Kyle Holm
@thekholm80
Aug 06 2017 22:45
np
Manish Giri
@Manish-Giri
Aug 06 2017 22:45
he plays golf with trump
he's currently in jersey
holidaying with trump and golf
Kyle Holm
@thekholm80
Aug 06 2017 22:45
oops he's the best golfer ever
Manish Giri
@Manish-Giri
Aug 06 2017 22:45
:smiling_imp:
golfer goofer
Razvan
@razvanlikespizza
Aug 06 2017 22:46
Going to send the screenshot to Trump
Manish Giri
@Manish-Giri
Aug 06 2017 22:46
:wink:
Razvan
@razvanlikespizza
Aug 06 2017 22:46
Hm,hm...
Kyle Holm
@thekholm80
Aug 06 2017 22:46
welp, nice knowing you all
Razvan
@razvanlikespizza
Aug 06 2017 22:46
I'm not sorry for you
Margaret
@Margaret2
Aug 06 2017 22:49
@Manish-Giri hi Manny :wave:
Kyle Holm
@thekholm80
Aug 06 2017 22:55
@Margaret2 x
Manish Giri
@Manish-Giri
Aug 06 2017 22:57
@Margaret2 :wave:
Margaret
@Margaret2
Aug 06 2017 22:57
that's cute but bears are weird @thekholm80
Kyle Holm
@thekholm80
Aug 06 2017 22:57
i like little bears
big bears are scary
Razvan
@razvanlikespizza
Aug 06 2017 23:07
i tried these 2..
pls,i dont know what to do
Manish Giri
@Manish-Giri
Aug 06 2017 23:09
case 4
Margaret
@Margaret2
Aug 06 2017 23:10
@razvanlikespizza you need to do case 1, case 2, etc. and the answers should be strings
i wish i had some pizza :sob: :pizza: :pizza: :pizza:
@Manish-Giri what pizza do you like
Razvan
@razvanlikespizza
Aug 06 2017 23:10
Margaret
@Margaret2
Aug 06 2017 23:11
@razvanlikespizza PIZZA! :heart_eyes:
i'm so hungry
Razvan
@razvanlikespizza
Aug 06 2017 23:11
Margaret
@Margaret2
Aug 06 2017 23:12
@razvanlikespizza wait a minute, did you make those? that's really cool
Manish Giri
@Manish-Giri
Aug 06 2017 23:12
@Margaret2 this one
for obvious reasons
Razvan
@razvanlikespizza
Aug 06 2017 23:12
@Margaret2 Yup,thank you...
CamperBot
@camperbot
Aug 06 2017 23:12
razvanlikespizza sends brownie points to @margaret2 :sparkles: :thumbsup: :sparkles:
:star2: 2869 | @margaret2 |http://www.freecodecamp.com/margaret2
Margaret
@Margaret2
Aug 06 2017 23:12
haha wow :laughing:
Razvan
@razvanlikespizza
Aug 06 2017 23:14
Help? :3
Stll trying but...I dont understand the logic.
Margaret
@Margaret2
Aug 06 2017 23:15
@razvanlikespizza answer = alpha; is not right because when you type a word without quotes, that's a variable. and there's no variable named alpha
so you have to use quotes for it to be a string
Razvan
@razvanlikespizza
Aug 06 2017 23:16
I did it..But dont understand it @Margaret2
case 1 ,means if val === 1?
switch (val) {
case 1:
break;
Margaret
@Margaret2
Aug 06 2017 23:17
essentially
Razvan
@razvanlikespizza
Aug 06 2017 23:17
How does it know if my val its 1?
Margaret
@Margaret2
Aug 06 2017 23:17
that's just how the switch statement works, when you say switch (xyz), it checks the value of xyz and matches it up with the right case
Razvan
@razvanlikespizza
Aug 06 2017 23:18
case 1 checks if val = 1?
Margaret
@Margaret2
Aug 06 2017 23:19
pretty much
Razvan
@razvanlikespizza
Aug 06 2017 23:19
I understand now @Margaret2 Thanks.
CamperBot
@camperbot
Aug 06 2017 23:19
razvanlikespizza sends brownie points to @margaret2 :sparkles: :thumbsup: :sparkles:
:warning: razvanlikespizza already gave margaret2 points
Margaret
@Margaret2
Aug 06 2017 23:19
but you can't say switch (val) and then case val === 1 because if val is actually one, that's like saying case true
Razvan
@razvanlikespizza
Aug 06 2017 23:20
I see :)))))
Margaret
@Margaret2
Aug 06 2017 23:20
:D
Aug 06 2017 23:37
If <label for="#"> designates assignment to <input id="#">, what is the point of adding a name attribute to <input>?
Razvan
@razvanlikespizza
Aug 06 2017 23:38
@serpad If you have multiple labels
Male
Female
Animal
If they have DIFFERENT NAMES you can select all of them,if they HAVE THE SAME name you can select just 1.
This in the case of radio buttons. If not...uhm...to identify it I think.
Aug 06 2017 23:43
So it's only useful for radio/checkbox?
Razvan
@razvanlikespizza
Aug 06 2017 23:44
For me yeah...
Maybe you can find and other uses.