These are chat archives for FreeCodeCamp/Help

30th
Jun 2017
jal90
@jal90
Jun 30 2017 00:19
Nice work, Ross, Carl Sagan is the man!
Ross Scarborough
@SourceHorse
Jun 30 2017 00:20
He's my hero haha
Nik Chan
@gnikkoch2
Jun 30 2017 00:29
Hello Guys,
I have a question about bootstraps, that is what is the btn-link class used for?
freethewhat
@freethewhat
Jun 30 2017 00:32
@gnikkoch2 Here bootstrap cheatsheet with working code/examples. https://hackerthemes.com/bootstrap-cheatsheet/#btn-primary
If you look at btn-primary and btn-link you'll see it presents it differently.
Manish Giri
@Manish-Giri
Jun 30 2017 00:34
@thekholm80 such pain
Kyle Holm
@thekholm80
Jun 30 2017 00:35
@Manish-Giri oh i have a better solution
1. delete Neo4j
2. get Mongo
3. live happily ever after
Manish Giri
@Manish-Giri
Jun 30 2017 00:35
let's hear it :smile:
rofl
mitchharris
@mitchharris
Jun 30 2017 00:36
Hey guys quys quick question: How do i position my text and images? I thought it was position:
Manish Giri
@Manish-Giri
Jun 30 2017 00:36
can you imagine?
such pain only to setup an array
ManOfUnknownNationality
@nhavar
Jun 30 2017 00:36

@SourceHorse Very good organization and presentation. The gray background is good for drawing attention to the photo's, but it is really bad for the color contrast on the rest of the text which can be hard on the eyes. You did really well on laying out the outline of the page, but I think you got the concept of the <h1-6> tags a little muddied. They're really only meant to be for page/section headings, not meant to encompass large bodies of text. Example:

<h1>Page Title</h1>
<section>
    <h2>Chapter title</h2>
   <p>Some content here...</p>
   <h3>A topic in the chapter</h3>
   <p>Some more content...</p>
</section>

I hope that makes sense.

Kyle Holm
@thekholm80
Jun 30 2017 00:37
I read an article today saying that using JavaScript as a functional language was an anti-pattern. his solution? switch to Clojure
Manish Giri
@Manish-Giri
Jun 30 2017 00:37
nice
mitchharris
@mitchharris
Jun 30 2017 00:37
How do i position my text and images? Is is not position: ?
Kyle Holm
@thekholm80
Jun 30 2017 00:37
it was really dumb
ManOfUnknownNationality
@nhavar
Jun 30 2017 00:38
@thekholm80 you'll hear lots of opinions about what JavaScript should/could/shouldn't/never/always do... use what works best for your product and workflow is my motto
Nik Chan
@gnikkoch2
Jun 30 2017 00:39
@freethewhat @thekholm80 Thanks guys, I think I got the idea =].
CamperBot
@camperbot
Jun 30 2017 00:39
gnikkoch2 sends brownie points to @freethewhat and @thekholm80 :sparkles: :thumbsup: :sparkles:
:cookie: 263 | @freethewhat |http://www.freecodecamp.com/freethewhat
:star2: 1218 | @thekholm80 |http://www.freecodecamp.com/thekholm80
ManOfUnknownNationality
@nhavar
Jun 30 2017 00:40
@mitchharris position is part of it, but you'll also need some coordinate, either top/left/right/bottom. You can also use bootstrap's grid to do some positioning with columns and rows.
mitchharris
@mitchharris
Jun 30 2017 00:40
I used position: center; and nothing happened
jal90
@jal90
Jun 30 2017 00:41
@mitchharris So I had a hell of a time aligning an image till I went back to the bootstrap lesson on columns and rows. You can declare a row to put a bunch of stuff in, then separate it into columns. For instance, if you want some whitespace on the left side of your image, create something like <div class="col-md-4"> </div> and then start a new column and put your image or text in that.
ManOfUnknownNationality
@nhavar
Jun 30 2017 00:41
@mitchharris sometimes you can use margins as well. That's not a valid option for position. It's either relative or absolute (i.e. relative to things around it or absolute in that it doesn't interact with elements around it.
mitchharris
@mitchharris
Jun 30 2017 00:41
Yeh i did that part but didnt quite understand it because of the xs md stuff. Also, don't you have to add multiple to position the img in the center?
ManOfUnknownNationality
@nhavar
Jun 30 2017 00:42
@mitchharris do you have a codepen to work off of we can talk through
mitchharris
@mitchharris
Jun 30 2017 00:42
like <div class="col-md-4 col-md-4 col-md-4"></div>
jal90
@jal90
Jun 30 2017 00:42

@mitchharris This is from my tribute page, I hope it formats well

<div class=row> <!-- This makes the row that the image is on. Bootstrap rows are 12 columns wide -->
<div class="col-md-4"> <!-- This makes an empty column 4 spaces wide on the left so the image will be center -->
</div>

<div class="col-md-4"> <!-- Here is the image which also uses 4 spaces -->
  <img  class="img-responsive gold-border" src="https://bolstablog.files.wordpress.com/2009/03/paramahansa-yogananda-the-last-smile.jpg"  border="10px" alt="The Last Smile"></img> 
</div>

<div class="col-md-4"> <!--Here's another empty column to finish row. Deleting this code does not change page layout though-->
</div>
</div>

mitchharris
@mitchharris
Jun 30 2017 00:42
yes
ill give it a go and paste my codepen in here if it doesnt work
Kyle Holm
@thekholm80
Jun 30 2017 00:43
@Manish-Giri how many indexes is that array going to have?
Manish Giri
@Manish-Giri
Jun 30 2017 00:44
@thekholm80 eyeballing the csv file, at least 200 indices that I can see
for one node
might be even more for other nodes
jal90
@jal90
Jun 30 2017 00:44
Hey all, I just started my portfolio project but freecodecamp definitely did not teach us how to make buttons that will scroll down the page when clicked. Do they expect us to use outside resources? Are there particular ones that are useful for us?
Kyle Holm
@thekholm80
Jun 30 2017 00:44
i wanted to do something similar in mongo but their docs warn against it
Manish Giri
@Manish-Giri
Jun 30 2017 00:44
but seriously tho, one person has 200 emails :unamused:
Kyle Holm
@thekholm80
Jun 30 2017 00:45
not sure what alternatives I have
Manish Giri
@Manish-Giri
Jun 30 2017 00:45
switch to neo4j
:smiling_imp:
Kyle Holm
@thekholm80
Jun 30 2017 00:45
i just threw up a little in my mouth
Manish Giri
@Manish-Giri
Jun 30 2017 00:45
aw
Kyle Holm
@thekholm80
Jun 30 2017 00:45
tasted like tacos
Manish Giri
@Manish-Giri
Jun 30 2017 00:45
lol
Kyle Holm
@thekholm80
Jun 30 2017 00:46
data structures suck
Manish Giri
@Manish-Giri
Jun 30 2017 00:47
Kyle Holm
@thekholm80
Jun 30 2017 00:47
lol
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 00:50
cookie :smile:
Kyle Holm
@thekholm80
Jun 30 2017 00:50
@ravikishorethella :wave:
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 00:50
:wave:
Manish Giri
@Manish-Giri
Jun 30 2017 00:51
@thekholm80 you're on the nightclub project next?
Kyle Holm
@thekholm80
Jun 30 2017 00:51
yeah
building the backend now
Manish Giri
@Manish-Giri
Jun 30 2017 00:51
or was that nighttime
:thought_balloon:
Kyle Holm
@thekholm80
Jun 30 2017 00:51
nightlife
Manish Giri
@Manish-Giri
Jun 30 2017 00:51
:disappointed:
Kyle Holm
@thekholm80
Jun 30 2017 00:52
I'm trying to do it all right this time instead of just cobbling together a backend like i did for the last project
Manish Giri
@Manish-Giri
Jun 30 2017 00:54
you should look at my code then
mitchharris
@mitchharris
Jun 30 2017 00:54
how do i link my codepen?
Manish Giri
@Manish-Giri
Jun 30 2017 00:54
looks like a puke contest
mitchharris
@mitchharris
Jun 30 2017 00:54
how do i link my codepen?
Manish Giri
@Manish-Giri
Jun 30 2017 00:54
ctrl - c + ctrl -v
Why wont this position stuff in the center of the screen?
Manish Giri
@Manish-Giri
Jun 30 2017 00:56
@thekholm80 you gotta teach me MERN
Thami Memel
@ThamiMemel
Jun 30 2017 00:56
hello guys i receive this error in challenge 216 what it means
cannot convert undefined or null to object
Kyle Holm
@thekholm80
Jun 30 2017 00:56
@Manish-Giri sure, what i know you can learn in a few minutes
mitchharris
@mitchharris
Jun 30 2017 01:00
anyone help me?
Alexander R Bott
@Abott1222
Jun 30 2017 01:00
@mitchharris whats gouda
mitchharris
@mitchharris
Jun 30 2017 01:02
@Abott1222 i need to position my images and text in the center of the screen
Alexander R Bott
@Abott1222
Jun 30 2017 01:04
did you add bootstrap your pen?
text-center should do it
mitchharris
@mitchharris
Jun 30 2017 01:05
i tried that in the div
but it did absolutely nothing
Ross Scarborough
@SourceHorse
Jun 30 2017 01:05
@mitchharris add bootstrap and put it in a <div class="container">
mitchharris
@mitchharris
Jun 30 2017 01:05
<div class="col-md-4">
<h1 class="text-center">William Henry Gates III (Bill Gates)</h1>
<h2 class="text-center"><em>The Richest Man Alive</em></h2>
</div>
how do you add bootstrap?
Alexander R Bott
@Abott1222
Jun 30 2017 01:05
you add it in the settings of your css
mitchharris
@mitchharris
Jun 30 2017 01:06
oh yes i remember
Ross Scarborough
@SourceHorse
Jun 30 2017 01:06
well that didn't share what i did
mitchharris
@mitchharris
Jun 30 2017 01:06
for some reason
when i use col-md-12 it positions it in the center
mitchharris
@mitchharris
Jun 30 2017 01:06
why isnt col-md-4 positioning it in the center?
Ross Scarborough
@SourceHorse
Jun 30 2017 01:06
like that?
Alexander R Bott
@Abott1222
Jun 30 2017 01:07
col-md-4 just sets the size of the colum to 1/3 of the width of the grid
mitchharris
@mitchharris
Jun 30 2017 01:07
yes!
and col-md-4 sets the size to full width?
Alexander R Bott
@Abott1222
Jun 30 2017 01:07
the grid is 12 units long
mitchharris
@mitchharris
Jun 30 2017 01:07
So adding the text-center centers it in the middle of the col-md-12?
Ross Scarborough
@SourceHorse
Jun 30 2017 01:07
add bootstrap then put it all in a div with the class "container"
Alexander R Bott
@Abott1222
Jun 30 2017 01:07
yup
mitchharris
@mitchharris
Jun 30 2017 01:07
why the class container?
Alexander R Bott
@Abott1222
Jun 30 2017 01:07
@mitchharris
bootstrap requires container
mitchharris
@mitchharris
Jun 30 2017 01:07
ok got it @Abott1222 thanks :D
CamperBot
@camperbot
Jun 30 2017 01:07
mitchharris sends brownie points to @abott1222 :sparkles: :thumbsup: :sparkles:
:cookie: 169 | @abott1222 |http://www.freecodecamp.com/abott1222
Alexander R Bott
@Abott1222
Jun 30 2017 01:08
np :D
Ross Scarborough
@SourceHorse
Jun 30 2017 01:08
that makes it sit in the middle of the screen instead of all the way to the right
i mean left
mitchharris
@mitchharris
Jun 30 2017 01:08
what is float-center?
Ryan Nelson
@iamryandnelson
Jun 30 2017 01:09
I just posted this in the forum, if anyone has time to take a look :)
https://forum.freecodecamp.org/t/i-just-updated-my-portfolio-is-it-ready-to-send-out-to-employers/133073
Ross Scarborough
@SourceHorse
Jun 30 2017 01:09
the only reason your text wasn't already centered is because you didn't add bootstrap
mitchharris
@mitchharris
Jun 30 2017 01:10
yes but now i have added bootstrap and it wont work haha
fml
there has to be an easy way to position everything in the center.. is there not?
Huỳnh Trần Khanh
@khanh2003
Jun 30 2017 01:14
@mitchharris yes, there is an easy way. what do you want?
center vertically or horizontally?
mitchharris
@mitchharris
Jun 30 2017 01:15
horizontally
Manish Giri
@Manish-Giri
Jun 30 2017 01:15
there has to be an easy way to position everything in the center.. is there not?
there is
it's called flexbox
mitchharris
@mitchharris
Jun 30 2017 01:15
wtf is that
Kyle Holm
@thekholm80
Jun 30 2017 01:16
flexbox is what makes bootstrap work
Manish Giri
@Manish-Giri
Jun 30 2017 01:16
^
mitchharris
@mitchharris
Jun 30 2017 01:18
yeh umm thats some complicated shit for positioning something in the middle of the screen
Kyle Holm
@thekholm80
Jun 30 2017 01:18
it is pretty hard, takes 3 lines of code
well, 2 for just horizontal centering
mitchharris
@mitchharris
Jun 30 2017 01:19
wtf i swear when i was learning html at the start all i had to use was postion: 'location';
Kyle Holm
@thekholm80
Jun 30 2017 01:22
yeah, but it's not what it sounds like
@Manish-Giri you seen Preact yet?
Manish Giri
@Manish-Giri
Jun 30 2017 01:27
O.o
what is that!!
like ultra-light React
Manish Giri
@Manish-Giri
Jun 30 2017 01:28
wow
another JS library
mitchharris
@mitchharris
Jun 30 2017 01:28
<div class="d-flex flex-row justify-content-center"> should work?
Kyle Holm
@thekholm80
Jun 30 2017 01:28
flexbox isn't classes
shows examples and they're all in that format
Kyle Holm
@thekholm80
Jun 30 2017 01:29
oh bs4
don't know anything about that
Manish Giri
@Manish-Giri
Jun 30 2017 01:30
lol it's literally bs in the name
:joy:
mitchharris
@mitchharris
Jun 30 2017 01:30
Either i am retarded, this group is retarded or coding is retarded
Manish Giri
@Manish-Giri
Jun 30 2017 01:30
@mitchharris just margin: 0 auto; should also center your stuff
Kyle Holm
@thekholm80
Jun 30 2017 01:30
that's a good way to get help
mitchharris
@mitchharris
Jun 30 2017 01:30
All i want to do is position my shit in the middle of the screen with 1 line of code lol
nope it didnt @Manish-Giri
Manish Giri
@Manish-Giri
Jun 30 2017 01:31

that's a good way to get help

I should ask my questions this way henceforth on SO

@thekholm80
:fire:
Kyle Holm
@thekholm80
Jun 30 2017 01:31
make sure to share those links with me
i need karma on reddit
Manish Giri
@Manish-Giri
Jun 30 2017 01:31
:fire:
@mitchharris share your codepen
so some of us retarded folks can look at it
Manish Giri
@Manish-Giri
Jun 30 2017 01:32
damn
mitchharris
@mitchharris
Jun 30 2017 01:32
?
Manish Giri
@Manish-Giri
Jun 30 2017 01:32
you're using all sorts of bootstrap 3 classes
and you didn't import bootstrap 3?
mitchharris
@mitchharris
Jun 30 2017 01:33
i imported bootstrap 3
Manish Giri
@Manish-Giri
Jun 30 2017 01:33
nope
mitchharris
@mitchharris
Jun 30 2017 01:33
wtf is the difference this shit is doing my head in
Manish Giri
@Manish-Giri
Jun 30 2017 01:33
not from the link you posted
Kyle Holm
@thekholm80
Jun 30 2017 01:33
forgot to save?
Manish Giri
@Manish-Giri
Jun 30 2017 01:34
@thekholm80 how far is Arizona from your place?
Kyle Holm
@thekholm80
Jun 30 2017 01:35
roughly 4 hours
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:35
The Kyle and Manishi chicken mastahhh
Manish Giri
@Manish-Giri
Jun 30 2017 01:35
:wave: @NahuelOvejero
Kyle Holm
@thekholm80
Jun 30 2017 01:35
@NahuelOvejero hey man
Manish Giri
@Manish-Giri
Jun 30 2017 01:35
Kyle Holm
@thekholm80
Jun 30 2017 01:35
oh god no
i have friends down there, they're miserable
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:36
how are you going my friends?
Kyle Holm
@thekholm80
Jun 30 2017 01:36
i'm not going
mitchharris
@mitchharris
Jun 30 2017 01:36
horrible
Manish Giri
@Manish-Giri
Jun 30 2017 01:36
lol
theclayster
@theclayster
Jun 30 2017 01:36
whats up everyone need some help anyone availiable
Kyle Holm
@thekholm80
Jun 30 2017 01:36
@NahuelOvejero help @mitchharris center some stuff
theclayster
@theclayster
Jun 30 2017 01:36
Nest your text input element within a form element.
Make sure your form has an action attribute which is set to /submit-cat-photo

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

<style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-cat"></a>

<p>Things cats love:</p>

<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>

<p>Top 3 things cats hate:</p>

<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>

<input type="text" placeholder="cat photo URL">

<form action="submit-cat-photo"></form>

Kyle Holm
@thekholm80
Jun 30 2017 01:37
<input type="text" placeholder="cat photo URL">
<form action="submit-cat-photo"></form>
should be <form><input></form>
mitchharris
@mitchharris
Jun 30 2017 01:37
Is there not a guide on this website for positioning stuff?
Manish Giri
@Manish-Giri
Jun 30 2017 01:38
<Arizona><Sun></Arizona>
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:38
I will check
mitchharris
@mitchharris
Jun 30 2017 01:38
There is that shitty one in the beginner guide with col-xs-12 shit but that doesnt help
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:38
@mitchharris what you need?
Manish Giri
@Manish-Giri
Jun 30 2017 01:38
a drink, prolly
mitchharris
@mitchharris
Jun 30 2017 01:38
I want to know how to position not only the whole row but individual parts (text, picture, etc)
without having to do it with every element
Kyle Holm
@thekholm80
Jun 30 2017 01:39
i'd suggest deciding what you want to use, then learn to use it
theclayster
@theclayster
Jun 30 2017 01:39
??
mitchharris
@mitchharris
Jun 30 2017 01:39
isn't there a way in CSS to position text and images
Kyle Holm
@thekholm80
Jun 30 2017 01:39
there are SO many ways
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:39
target p {} and img {}
mitchharris
@mitchharris
Jun 30 2017 01:39
i know there are so many ways
but i just want to know the beginner way first
Kyle Holm
@thekholm80
Jun 30 2017 01:39
but every way requires you to learn something
mitchharris
@mitchharris
Jun 30 2017 01:39
i swear to god it was position: 'location';
Kyle Holm
@thekholm80
Jun 30 2017 01:39
with reading and all that
mitchharris
@mitchharris
Jun 30 2017 01:39
yeh well flexbox is too complicated for me bcause im new
the other guides i've searched dont even work
like allign: 'position;
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:40
but you can say, center all img, but the problem is if you want to wrap some of them with text
theclayster
@theclayster
Jun 30 2017 01:40
thanks @thekholm80
CamperBot
@camperbot
Jun 30 2017 01:40
theclayster sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1220 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Kyle Holm
@thekholm80
Jun 30 2017 01:41
@theclayster :+1:
theclayster
@theclayster
Jun 30 2017 01:41
i still need help with the attributes
Make sure your form has an action attribute which is set to /submit-cat-photo
Kyle Holm
@thekholm80
Jun 30 2017 01:41
@theclayster your action is missing the /
mitchharris
@mitchharris
Jun 30 2017 01:41
Exactly @NahuelOvejero i want to be able to center the image but allign the text on the left in the middle
theclayster
@theclayster
Jun 30 2017 01:41
didnt work @thekholm80
Kyle Holm
@thekholm80
Jun 30 2017 01:42
show your form code again
theclayster
@theclayster
Jun 30 2017 01:42
<form><input type="text" placeholder="cat photo URL"></form>
<form action="submit-cat-photo"></form>
Kyle Holm
@thekholm80
Jun 30 2017 01:42
why do you have 2 forms?
theclayster
@theclayster
Jun 30 2017 01:42
i just added it in there but there was no change
Kyle Holm
@thekholm80
Jun 30 2017 01:42
take your input and put it in <form action="submit-cat-photo"></form>
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:43
@mitchharris well, then you need to modify the p , give at id / class base on where you want
theclayster
@theclayster
Jun 30 2017 01:43
i just did that
Kyle Holm
@thekholm80
Jun 30 2017 01:44
show me your code now
theclayster
@theclayster
Jun 30 2017 01:44
<form><input type="text" placeholder="cat photo URL"></form>
<form action="submit-cat-photo"></form>
Kyle Holm
@thekholm80
Jun 30 2017 01:44
you still have 2 forms and your action is still missing the /
theclayster
@theclayster
Jun 30 2017 01:44
i just deleted one
lol im so lost rn
mitchharris
@mitchharris
Jun 30 2017 01:46
Ok so @NahuelOvejero i created a class called textPosition and i put allign: left; then added it to the paragraphs <p class="textPosition"> and nothing has happened...
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 01:47
@theclayster there should be only pair of <form> tags
@thekholm80 what is HTTP Collect?
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 01:47
you should have too, not just textPosition, one called left and other rigth, how you created the class @mitchharris
Kyle Holm
@thekholm80
Jun 30 2017 01:47
@ravikishorethella where are you seeing that?
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 01:47
@thekholm80 fcc backend
Kyle Holm
@thekholm80
Jun 30 2017 01:48
it's like 1800 collect but it makes collect calls to websites instead of phones
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 01:48
@thekholm80 Juggling Async, Time server?
Kyle Holm
@thekholm80
Jun 30 2017 01:49
(i was joking) i forget most people here are too young for my jokes
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 01:49
don't play with immature kids :smile:
Kyle Holm
@thekholm80
Jun 30 2017 01:51
the http collect method waits for the entire response to build before sending, rather than streaming a response
so it's like sending one package after it's filled instead of sending each piece as it becomes available
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 01:52
Kyle Holm
@thekholm80
Jun 30 2017 01:53

is that a question you're expecting an answer to?

Juggling Async, Time server?

i don't quite get it
i was answering this question :point_up: June 29, 2017 7:47 PM
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 01:54
these are some more question :smile:
theclayster
@theclayster
Jun 30 2017 01:54
aha!
Kyle Holm
@thekholm80
Jun 30 2017 01:54
@theclayster did you figure it out?
theclayster
@theclayster
Jun 30 2017 01:55
yup! i wasnt placing the action in my form element thats where i was stuck at @thekholm80
Kyle Holm
@thekholm80
Jun 30 2017 01:55
good deal
@ravikishorethella the time server was a fun lesson
Ravi Kishore Thella
@ravikishorethella
Jun 30 2017 01:58
@thekholm80 ty sir :smile: I think I should stop for the day
CamperBot
@camperbot
Jun 30 2017 01:58
ravikishorethella sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1221 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Anon
@MikeyZee
Jun 30 2017 02:01
Hey everyone. I am working on a school assignment -__- and I am required to write some pseudocode for a python script I wrote. Well actually the idea was to write the pseudocode before finishing the script ahah but pseudocode sucks so I skipped that. Can anyone give me some tips or pseudocode as every time I try to write it, my pseudocode looks almost identical to my python code :/
theclayster
@theclayster
Jun 30 2017 02:01
im stuck again
Your submit button should only have the text "Submit".
Anon
@MikeyZee
Jun 30 2017 02:01
Paste your code @theclayster
I''l help you out
theclayster
@theclayster
Jun 30 2017 02:02
hold on i just deleted it on accident
slri
@slri
Jun 30 2017 02:02
@MikeyZee You need to make it wordy, Python is known for it's shortened terms so you'd want to make your pseudocode wordy so even someone who doesn't code can understand it.
Gabby Miles
@Gabby-miles
Jun 30 2017 02:03

Hi.!! im stuck on the chunky monkey challenge... can anyone help me?? the task is: Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a two-dimensional array. i've gotten some of the answers but not all.. this is what i've done so far:
function chunkArrayInGroups(arr, size) {

var array1 = arr.splice(0, size); console.log("array1: ", array1);

var concat = [array1].concat([arr]);
return concat;
}
chunkArrayInGroups(["a", "b", "c", "d"], 2);

Anon
@MikeyZee
Jun 30 2017 02:04
Yea, I know that it needs to be universal in terms of understandable for complete noobs in code as well as able to be transformed into any other language. The only problem is, within my python script I utilise dictionaries and lists, do I reference those or?
@Gabby-miles
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:05
what is your pseudocode about?
slri
@slri
Jun 30 2017 02:05
example:
variable days = 25;
while(days is less than 30) {
    days = days + 1;
    if(days / 2) {
        print line "I'm divisible by two!";
    }
}
theclayster
@theclayster
Jun 30 2017 02:05
@MikeyZee <form action="/submit-cat-photo"><button type="submit" this button submits the form></buton>
<input type="text" placeholder="submit">
</form>
Your submit button should only have the text "Submit".
Make sure your button element has a closing tag.
Anon
@MikeyZee
Jun 30 2017 02:06
https://github.com/MikeyZee/Safe-t-cam here is my code if you wouldn't mnd having a quick look, its a very small script and pretty simple
slri
@slri
Jun 30 2017 02:06
you can always make it word-ier, but I prefer to spell out the logic and use signs for assignment and basic math.
Anon
@MikeyZee
Jun 30 2017 02:07
check your button tags @theclayster you need to be very careful with spelling
theclayster
@theclayster
Jun 30 2017 02:07
ahhh good call @MikeyZee
this is where i was stuck though @MikeyZee
Your submit button should only have the text "Submit".
Gabby Miles
@Gabby-miles
Jun 30 2017 02:08
mmmm i dont know? @MikeyZee
Manish Giri
@Manish-Giri
Jun 30 2017 02:08
OMG
Kyle Holm
@thekholm80
Jun 30 2017 02:08
<element>Text</element>
theclayster
@theclayster
Jun 30 2017 02:08
<form action="/submit-cat-photo"><button type="submit" this button submits the form></button>
<input type="text" placeholder="submit">
</form>
Manish Giri
@Manish-Giri
Jun 30 2017 02:08
Look who showed up
slri
@slri
Jun 30 2017 02:08
@theclayster <button type="submit" **this button submits the form**></button>
Anon
@MikeyZee
Jun 30 2017 02:09
.... Its Manish Giri! hahaha whats up!
slri
@slri
Jun 30 2017 02:09
do you see the text between the asterisks? That's not HTML now, is it?
@Manish-Giri <3
theclayster
@theclayster
Jun 30 2017 02:09
no luck @RuinIsProbablyTaken
Anon
@MikeyZee
Jun 30 2017 02:10
'''
CamperBot
@camperbot
Jun 30 2017 02:10
:bulb: to format code use backticks! ``` more info
Anon
@MikeyZee
Jun 30 2017 02:10
Sorry
slri
@slri
Jun 30 2017 02:10
@theclayster Ok so whatever is in between the button tags will be the button text. That has to be "Submit" as the challenge says.
Now what you've done is add some gibberish inside of the opening button tag and nothing in between the button tags themselves.
Manish Giri
@Manish-Giri
Jun 30 2017 02:12
@RuinIsProbablyTaken if it isn't the legend herself!
theclayster
@theclayster
Jun 30 2017 02:12
<form action="/submit-cat-photo"><button type="submit"></button>
<input type="text" placeholder="submit">
</form>
i deleted the gibberish but what do i have to do now, it keeps saying the same thing but i have submit in my button tags
slri
@slri
Jun 30 2017 02:13
Stahp, you're making me blush >//u//<
Anon
@MikeyZee
Jun 30 2017 02:13

```

<form action="/submit-cat-photo"><button type="submit">"Submit"</button>``` Potentially, its been a while since I have looked at html javascript

slri
@slri
Jun 30 2017 02:13
@theclayster Now you have to add the button text as I mentioned :point_up: June 30, 2017 4:10 AM
@MikeyZee Nope, that's still not right
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:14
@RuinIsProbablyTaken your blush tag are wrong, you forgot to close them
try this <blush>//u//</blush>
:^)
slri
@slri
Jun 30 2017 02:14
@NahuelOvejero i like my tags open just like the legs of my bishes (^:
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:15
gangstah as f
Kyle Holm
@thekholm80
Jun 30 2017 02:15
must be that pug style
slri
@slri
Jun 30 2017 02:15
af* pls check your jargon ok
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:15
let me be your friend pls
pug life, sounds good, sounds good
Manish Giri
@Manish-Giri
Jun 30 2017 02:16
@RuinIsProbablyTaken welcome back
you were missed!
slri
@slri
Jun 30 2017 02:16
What's better: PHP or Node? @NahuelOvejero
Manish Giri
@Manish-Giri
Jun 30 2017 02:16
@NahuelOvejero say rails.
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:16
@RuinIsProbablyTaken C#
Kyle Holm
@thekholm80
Jun 30 2017 02:16
oh dear
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:16
come at me
slri
@slri
Jun 30 2017 02:16
@NahuelOvejero We can never be friends /block
theclayster
@theclayster
Jun 30 2017 02:16
this is driving me crazy
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:16
Shameful
Dishonor on you, Dishonor on your cow
slri
@slri
Jun 30 2017 02:17
Not my cow!
Kyle Holm
@thekholm80
Jun 30 2017 02:17
more LAMP stacks out there than anything, but I'm not sure I want to learn PHP
slri
@slri
Jun 30 2017 02:17
@Manish-Giri Hey guess what
@thekholm80 You do, I'll be your senpai <3
Manish Giri
@Manish-Giri
Jun 30 2017 02:17
what
slri
@slri
Jun 30 2017 02:18
I'm making fb bots in PHP :^)
Kyle Holm
@thekholm80
Jun 30 2017 02:18
lol maybe after i give up on node
Manish Giri
@Manish-Giri
Jun 30 2017 02:18
good
I made a twitter bot with node last year
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:18
na-nani?!?! SEMPAIDO?
theclayster
@theclayster
Jun 30 2017 02:18
<form action="/submit-cat-photo"><button type="submit"></button>
<input type="text" placeholder="submit">
</form>
Manish Giri
@Manish-Giri
Jun 30 2017 02:18
@theclayster <button type="submit"></button> - there's no text
Kyle Holm
@thekholm80
Jun 30 2017 02:18
@theclayster getting closer
slri
@slri
Jun 30 2017 02:19
@theclayster :point_up: June 30, 2017 4:10 AM READ IT
theclayster
@theclayster
Jun 30 2017 02:19
i did its not making sense @RuinIsProbablyTaken
Kyle Holm
@thekholm80
Jun 30 2017 02:19
<element>Text</element>
you're missing the text
slri
@slri
Jun 30 2017 02:19
@theclayster <button> </button> are the button tags, in between them should be the button text
@thekholm80 beat me to it smh
Kyle Holm
@thekholm80
Jun 30 2017 02:20
cookies are hard to come by nowdays, you got to be fast
theclayster
@theclayster
Jun 30 2017 02:21
im aware but its not working
im going to post what i just wrote
slri
@slri
Jun 30 2017 02:21
@Manish-Giri tbh fb bots are fun and boring at the same time, I like making my own stuff, not making something that will only reply to something else. It kills me on the inside uwu
theclayster
@theclayster
Jun 30 2017 02:21
<form action="/submit-cat-photo"><button type="submit" submit></button>
<input type="text" placeholder="submit">
</form>
slri
@slri
Jun 30 2017 02:21
@theclayster in between the tags boi
Kyle Holm
@thekholm80
Jun 30 2017 02:21
@RuinIsProbablyTaken why are you making bots?
theclayster
@theclayster
Jun 30 2017 02:22
lol isnt that in between?
slri
@slri
Jun 30 2017 02:22
nope, try again
Manish Giri
@Manish-Giri
Jun 30 2017 02:22
I like making my own stuff, not making something that will only reply to something else.
theclayster
@theclayster
Jun 30 2017 02:22
sigh
slri
@slri
Jun 30 2017 02:22
there's an opening and a closing tag, in between those
Manish Giri
@Manish-Giri
Jun 30 2017 02:22
you're gonna get paid for doing the latter
slri
@slri
Jun 30 2017 02:22
@Manish-Giri exactly
@thekholm80 cuz it gibs monies
Kyle Holm
@thekholm80
Jun 30 2017 02:23
yeah, fair enough
I should make a few million twitter bots and sell them to our president
Manish Giri
@Manish-Giri
Jun 30 2017 02:23
covfefe
Kyle Holm
@thekholm80
Jun 30 2017 02:24
oh man i saw a good covfefe today
slri
@slri
Jun 30 2017 02:24
the fk is covfefe
theclayster
@theclayster
Jun 30 2017 02:24
thanks @thekholm80 @RuinIsProbablyTaken
CamperBot
@camperbot
Jun 30 2017 02:24
theclayster sends brownie points to @thekholm80 and @ruinisprobablytaken :sparkles: :thumbsup: :sparkles:
:warning: theclayster already gave thekholm80 points
:cookie: 741 | @ruinisprobablytaken |http://www.freecodecamp.com/ruinisprobablytaken
slri
@slri
Jun 30 2017 02:25
Oh I forgot that I'm not even a star, I'm still a pleb
Kyle Holm
@thekholm80
Jun 30 2017 02:25
aww
slri
@slri
Jun 30 2017 02:25
Sadness
Kyle Holm
@thekholm80
Jun 30 2017 02:25
@RuinIsProbablyTaken thanks
CamperBot
@camperbot
Jun 30 2017 02:25
thekholm80 sends brownie points to @ruinisprobablytaken :sparkles: :thumbsup: :sparkles:
:cookie: 742 | @ruinisprobablytaken |http://www.freecodecamp.com/ruinisprobablytaken
Kyle Holm
@thekholm80
Jun 30 2017 02:25
just 258 to go
slri
@slri
Jun 30 2017 02:26
just
Kyle Holm
@thekholm80
Jun 30 2017 02:26
manish can do that in a week
slri
@slri
Jun 30 2017 02:26
i'm not manish ok
Kyle Holm
@thekholm80
Jun 30 2017 02:26
lol
me either
Manish Giri
@Manish-Giri
Jun 30 2017 02:26
about @manish-giri
CamperBot
@camperbot
Jun 30 2017 02:26
:star2: 6149 | @manish-giri |http://www.freecodecamp.com/manish-giri
Manish Giri
@Manish-Giri
Jun 30 2017 02:26
still about 4K to go
slri
@slri
Jun 30 2017 02:26
i got banned more than i received thanks smh
Kyle Holm
@thekholm80
Jun 30 2017 02:26
I saw manish's 98 day streak in a medium article
Manish Giri
@Manish-Giri
Jun 30 2017 02:27
yeah that
Kyle Holm
@thekholm80
Jun 30 2017 02:27
400 days ago
Manish Giri
@Manish-Giri
Jun 30 2017 02:27
that was quite something
slri
@slri
Jun 30 2017 02:27
Manish should just rename himself to Maniac
Manish Giri
@Manish-Giri
Jun 30 2017 02:27
400 days
slri
@slri
Jun 30 2017 02:27
Fits
Manish Giri
@Manish-Giri
Jun 30 2017 02:27
you rename yourself to Siri first
i'll follow suit
slri
@slri
Jun 30 2017 02:28
I really should change that nickname lol
Manish Giri
@Manish-Giri
Jun 30 2017 02:28
how about queen-of-denia
slri
@slri
Jun 30 2017 02:29
Queen of Denia that doesn't even know how to get home from center of Denia
Legit
I still don't know this town, I've literally went out like 5 times all together
Kyle Holm
@thekholm80
Jun 30 2017 02:30
that's by the sea, right?
my geography sucks
slri
@slri
Jun 30 2017 02:30
Yep, the beach is 200m away from me, god bless
Manish Giri
@Manish-Giri
Jun 30 2017 02:30
maybe if you get up at 6 am instead of going to sleep at 6
Kyle Holm
@thekholm80
Jun 30 2017 02:30
dang, must be nice
Manish Giri
@Manish-Giri
Jun 30 2017 02:30
you could roam
slri
@slri
Jun 30 2017 02:30
see the thing is that I work from 2am to 10am
Manish Giri
@Manish-Giri
Jun 30 2017 02:30
explore
slri
@slri
Jun 30 2017 02:30
So I can't really live a normal life :'3
Manish Giri
@Manish-Giri
Jun 30 2017 02:31
it's okay
you and me..we are cursed.
slri
@slri
Jun 30 2017 02:31
No dude you don't know how cursed I am
Manish Giri
@Manish-Giri
Jun 30 2017 02:31
uh I think I do
slri
@slri
Jun 30 2017 02:32
Dude I've had these like online flings with dudes instead of going out and getting some
And it has only been drama qwq
Manish Giri
@Manish-Giri
Jun 30 2017 02:32
yuck
Kyle Holm
@thekholm80
Jun 30 2017 02:32
i've never had an online fling with a dude
slri
@slri
Jun 30 2017 02:32
At least I can't get any STD so I got that going for me lol
Kyle Holm
@thekholm80
Jun 30 2017 02:33
not sure i'd like it
k3vzz
@k3vzz
Jun 30 2017 02:33
any newbies?
Manish Giri
@Manish-Giri
Jun 30 2017 02:33
me
slri
@slri
Jun 30 2017 02:33
Are all Kyles asexual or in the closet? Seems to be a pattern smh
me
k3vzz
@k3vzz
Jun 30 2017 02:33
cool :3
Kyle Holm
@thekholm80
Jun 30 2017 02:33
i'm divorced, that's kind like asexual
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:34
ouch
slri
@slri
Jun 30 2017 02:34
How long ago was that?
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:34
I'm code sexual
Kyle Holm
@thekholm80
Jun 30 2017 02:34
10 years
Manish Giri
@Manish-Giri
Jun 30 2017 02:34
@thekholm80 MERGE (n:TESTPERSON {id: toInt(line.Personid)})
MERGE is quite neat, it'll create a node if one doesn't exist, or if it does, it will MATCH and return it
slri
@slri
Jun 30 2017 02:34
woah, have you at least had lady friends for some bedroom fun time?
Kyle Holm
@thekholm80
Jun 30 2017 02:35
lol yeah, i'm divorced not dead
slri
@slri
Jun 30 2017 02:35
ouch you keep hurting my kokoro :c
Kyle Holm
@thekholm80
Jun 30 2017 02:35
@Manish-Giri oh mongo has a method called upsert that's similar
very handy
slri
@slri
Jun 30 2017 02:35
@Manish-Giri what's that? excuse me for not speaking mainstream
Manish Giri
@Manish-Giri
Jun 30 2017 02:35
merge sounds cooler than upsert
:smirk:
slri
@slri
Jun 30 2017 02:36
upsert sounds dope
it's like upset with an r
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:36
"I'm going to upsert this in your mongo"
Manish Giri
@Manish-Giri
Jun 30 2017 02:36
that's my research
slri
@slri
Jun 30 2017 02:36
gg smartass
Kyle Holm
@thekholm80
Jun 30 2017 02:37
slri
@slri
Jun 30 2017 02:37
whoever made that meme should be shot on sight
@Manish-Giri did i tell you that i met my boss on here? xd
Manish Giri
@Manish-Giri
Jun 30 2017 02:39
yeah you did
lucky you
Kyle Holm
@thekholm80
Jun 30 2017 02:39
my boss is cool but i don't think he'd hang out here
theclayster
@theclayster
Jun 30 2017 02:40
how do you nest something again? forgot sorry
slri
@slri
Jun 30 2017 02:41
@theclayster <something><something else></something else></something> something else nested inside of something
theclayster
@theclayster
Jun 30 2017 02:41
<label type="radio"name="indoor">indoor<label type="radio"name="outdoor">outdoor</label><form action="/submit-cat-photo"></label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
slri
@slri
Jun 30 2017 02:42
.-.
theclayster
@theclayster
Jun 30 2017 02:42
here it says each of my radio buttons should be nested in their own element
sorry for the inconvienience
just trying to learn
slri
@slri
Jun 30 2017 02:43
Well, it all should be inside of the form for starters
Can you link the challenge? I don't know them by heart any more. :C
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:43
something is the best word in the world
slri
@slri
Jun 30 2017 02:43
no, fuck and cuck are the best ones imho
slri
@slri
Jun 30 2017 02:44
<label><input type="radio" name="indoor-outdoor"> Indoor</label> the example says it all
theclayster
@theclayster
Jun 30 2017 02:45
thats what i have
slri
@slri
Jun 30 2017 02:46
It's literally not
maybe go make coffee or something, take the dog for a walk and come back to it
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:47
that's are meanie words :c
slri
@slri
Jun 30 2017 02:47
probably just trying to run through it and not paying enough attention to what you wrote exactly, coming back to it with fresh eyes will help
theclayster
@theclayster
Jun 30 2017 02:47
i typed that and it went incorrect @RuinIsProbablyTaken
Manish Giri
@Manish-Giri
Jun 30 2017 02:48
@theclayster <label type="radio"name="indoor">indoor<label
this is what you have
where's the input keyword?
theclayster
@theclayster
Jun 30 2017 02:48
this is going to my form element not my input element
slri
@slri
Jun 30 2017 02:48
...
Manish Giri
@Manish-Giri
Jun 30 2017 02:49
...
slri
@slri
Jun 30 2017 02:49
As I said, take a break from it and come back to it.
Manish Giri
@Manish-Giri
Jun 30 2017 02:49
back to research then
Kyle Holm
@thekholm80
Jun 30 2017 02:49
slri
@slri
Jun 30 2017 02:49
That's so passive aggressive, I love it lol
Kyle Holm
@thekholm80
Jun 30 2017 02:50
Christina Perri got engaged. my life is over
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:51
I don't have idea who she is, but divorce is a thing
you can seduce her with your react skills
Kyle Holm
@thekholm80
Jun 30 2017 02:52
i bet most pop stars dream of one day meeting a beginner react dev
k3vzz
@k3vzz
Jun 30 2017 02:52
A Por La Duo Decima <3
slri
@slri
Jun 30 2017 02:53
Funny thing is that programmers are attractive to non programmers, but programmers aren't attractive to other programmers
Muhammad Hussain
@ReactorboY
Jun 30 2017 02:54
@ReactorboY
hey @thekholm80
supp ??
Kyle Holm
@thekholm80
Jun 30 2017 02:54
good god have you seen programmers? uggos
@ReactorboY hey buddy
slri
@slri
Jun 30 2017 02:54
Actually, lots of the ones I've seen were pretty hot
Muhammad Hussain
@ReactorboY
Jun 30 2017 02:54
@thekholm80 how r u ??
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:54
It's because they know they array means nothings in the programming world :^)
slri
@slri
Jun 30 2017 02:54
Just that I hate bad code so god damn much
Kyle Holm
@thekholm80
Jun 30 2017 02:55
@ReactorboY i'm good, you?
Muhammad Hussain
@ReactorboY
Jun 30 2017 02:55
@RuinIsProbablyTaken I followed pretty hot programmers
slri
@slri
Jun 30 2017 02:55
hot =/= skilled
And even if they are, if they're not as OCD as me they'll never be good enough
Muhammad Hussain
@ReactorboY
Jun 30 2017 02:56
@thekholm80 gd, how working on react kyle
Claudio Restifo
@Marmiz
Jun 30 2017 02:56

programmers are attractive

conditions apply

Kyle Holm
@thekholm80
Jun 30 2017 02:56
@ReactorboY mostly working on express/mongoose/passport right now
slri
@slri
Jun 30 2017 02:57
I was with a guy who was all right at programming, but as soon as I saw him write a goto clause instead of a simple if I just couldn't
Kyle Holm
@thekholm80
Jun 30 2017 02:57
yikes
slri
@slri
Jun 30 2017 02:57
Or like he'd write functions for no reason, I wanted to cry
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 02:57
what a cuck :^)
Muhammad Hussain
@ReactorboY
Jun 30 2017 02:58
@thekholm80 gd, earlier I tried that too but first think to complete fcc to improve my problem solving ability
slri
@slri
Jun 30 2017 02:58
He was really sweet tho, but I would instantly just refuse to help him with programming because he'd just be hideous to me as soon as I'd see his code
Kyle Holm
@thekholm80
Jun 30 2017 02:58
@ReactorboY might be good to work up to it
Muhammad Hussain
@ReactorboY
Jun 30 2017 02:59
yeah
Kyle Holm
@thekholm80
Jun 30 2017 02:59
none of it is hard, there's just a lot to learn
Muhammad Hussain
@ReactorboY
Jun 30 2017 02:59
express is easy tho
Kyle Holm
@thekholm80
Jun 30 2017 03:00
i think so
Muhammad Hussain
@ReactorboY
Jun 30 2017 03:00
have any project to show kyle ? like clock one previously you showed
Kyle Holm
@thekholm80
Jun 30 2017 03:01
hmm
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:01
yeah, show us Kyle
Claudio Restifo
@Marmiz
Jun 30 2017 03:01
#include <cry.h>

int stopcry(int cry) {
 if(cry) {
    don't 
  }
}
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:01
(?
Kyle Holm
@thekholm80
Jun 30 2017 03:01
nothing really pretty, mostly been working on fcc projects
Muhammad Hussain
@ReactorboY
Jun 30 2017 03:01
@Marmiz lol
ASlien
@ASlien
Jun 30 2017 03:02
hei my friend i input
<a href="#"> <img src="/images/relaxing-cat.jpg"></a>
i cant see where is wrong
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:03
is finished? @thekholm80
Muhammad Hussain
@ReactorboY
Jun 30 2017 03:03
@ASlien using locally or on fcc ??
Kyle Holm
@thekholm80
Jun 30 2017 03:03
@NahuelOvejero as finished as it's going to get
ASlien
@ASlien
Jun 30 2017 03:03
fcc
slri
@slri
Jun 30 2017 03:03
@Manish-Giri remember # is the new href?
Muhammad Hussain
@ReactorboY
Jun 30 2017 03:03
@thekholm80 try to change color scheme
Manish Giri
@Manish-Giri
Jun 30 2017 03:03
@RuinIsProbablyTaken lol, yeah
that is eternal
Muhammad Hussain
@ReactorboY
Jun 30 2017 03:03
nd what you like dog or cat ??
Claudio Restifo
@Marmiz
Jun 30 2017 03:03
@ASlien mind to use the correct image url adress
Kyle Holm
@thekholm80
Jun 30 2017 03:04
lol yeah it's ugly @ReactorboY i'm not much of a designer
Muhammad Hussain
@ReactorboY
Jun 30 2017 03:04
@Manish-Giri giri is here
slri
@slri
Jun 30 2017 03:04
@Manish-Giri it's a perma fcc meme
Manish Giri
@Manish-Giri
Jun 30 2017 03:04
@RuinIsProbablyTaken I should've actually made a meme about it
Kyle Holm
@thekholm80
Jun 30 2017 03:04
or a tee shirt
Manish Giri
@Manish-Giri
Jun 30 2017 03:04
Day 1
now I'm too old for that shit
Ryan Draves
@RyanDraves
Jun 30 2017 03:05
hello, I'm having an issue with my javascript. Upon the first removal of an item, the "return false" keeps the page from going to the linked stream. after the first removal, it seems to go regardless, and I'm not sure why. Thanks for any help, it's the very bottom JQuery function of the page. https://codepen.io/RyanDraves/pen/WOZXQo?editors=0110
ASlien
@ASlien
Jun 30 2017 03:05
@Marmiz i can see the image in the right, bug the mission is wrong
Ryan Draves
@RyanDraves
Jun 30 2017 03:05
to clarify, I don't want the removal of a listed stream to go to the link. works the first click, stops working from there
Claudio Restifo
@Marmiz
Jun 30 2017 03:07
@ASlien that's because the test will look for the correct image, even if you see it on the scren
slri
@slri
Jun 30 2017 03:07
@RyanDraves The entire box becomes a link
why would you do that
but that's really weird, lemme check it out
Ryan Draves
@RyanDraves
Jun 30 2017 03:08
@RuinIsProbablyTaken I'm aware of that. on the first click "return false" stops the link from working (intended when clicking X to remove it). after that clicking the X takes the user to the page anyways
Kyle Holm
@thekholm80
Jun 30 2017 03:08
@ReactorboY have you tried my game?
oh crap, i can't call it my game now that others have contributed
slri
@slri
Jun 30 2017 03:10
@RyanDraves Yep, I can see that. I had a similar issue a while ago so let me take a look
Ryan Draves
@RyanDraves
Jun 30 2017 03:10
@RuinIsProbablyTaken I've tried event.preventDefault() too and the same issue occurs
Manish Giri
@Manish-Giri
Jun 30 2017 03:12
@thekholm80 pair with me on dungeon?
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:12
@thekholm80 I feel terrible offended because you cut me ALL my code
Kyle Holm
@thekholm80
Jun 30 2017 03:12
sure
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:12
Like, all the time I spend with OUR game
gosh, you are so cruel
;P
Kyle Holm
@thekholm80
Jun 30 2017 03:12
@NahuelOvejero you did good and deserve recognition
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:12
I'm waiting the check at my house
ahha
Manish Giri
@Manish-Giri
Jun 30 2017 03:12
oh you guys made a game
what is it about
Kyle Holm
@thekholm80
Jun 30 2017 03:13
no, he made a PR to my dungeon
slri
@slri
Jun 30 2017 03:13
@RyanDraves It's something to do with $(".item").remove(); because it doesn't ignore the return false in that case
Kyle Holm
@thekholm80
Jun 30 2017 03:13
added WASD controls
Anon
@MikeyZee
Jun 30 2017 03:13
Hey, I'm starting my pseudocode and I have no idea whether this is right. Does this make any sense whatsoever or no?? Thanks :)
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:13
quality stuff rigth there
slri
@slri
Jun 30 2017 03:13
As soon as I removed it, it did look wonky, but it wasn't sending me to a link either
Anon
@MikeyZee
Jun 30 2017 03:13

<!DOCTYPE Pseudocode>

```BEGIN Aquireinformation()
Get distance1
Get distance 2
Get SPEED_LIMIT
import textfile
Get number of lines in textfile -1
Counter = number or lines in textfile -1
END

BEGIN Numberplates
For every line in textfile
split line
append textfile[2] to numberplates[]

Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:13
I will start with unity, and check if I can do a FB game
So I can milk those retired people
with long ass quest farm games
:^)
Kyle Holm
@thekholm80
Jun 30 2017 03:14
i want to learn unity, but I don't want to learn C#
Anon
@MikeyZee
Jun 30 2017 03:14
<!DOCTYPE Pseudocode>

BEGIN Aquireinformation()
  Get distance1
  Get distance 2
  Get SPEED_LIMIT
  import textfile
  Get number of lines in textfile -1
  Counter = number or lines in textfile -1
END

BEGIN Numberplates
  For every line in textfile
    split line
    append textfile[2] to numberplates[]
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:14
I read you can use javascript, or something called unityscript , not sure
Kyle Holm
@thekholm80
Jun 30 2017 03:14
hmm
interesting
Ryan Draves
@RyanDraves
Jun 30 2017 03:15
@RuinIsProbablyTaken is the "remove" not removing it completely? because it should just be removing all the streams, taking out the removed stream from the array, and putting them all back in
Manish Giri
@Manish-Giri
Jun 30 2017 03:15
anyone wants to pair with me on swift
Anon
@MikeyZee
Jun 30 2017 03:15
I obviously haven't finished but that was just the start, does it make sense??
Kyle Holm
@thekholm80
Jun 30 2017 03:15
@Manish-Giri how are you going to do your dungeon?
Claudio Restifo
@Marmiz
Jun 30 2017 03:15
@Manish-Giri no but I want ti give go a try
slri
@slri
Jun 30 2017 03:16
@RyanDraves No, it's removing it, but it's also somehow messing with return false;
Manish Giri
@Manish-Giri
Jun 30 2017 03:16
@thekholm80 by writing some code :smiling_imp:
Kyle Holm
@thekholm80
Jun 30 2017 03:16
pure react?
just colored boxes?
Manish Giri
@Manish-Giri
Jun 30 2017 03:16
and redux
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:17
@thekholm80 The version of JavaScript used by Unity is also a CLI language, and is compiled. Newcomers often assume JS isn't as good as the other three, but it's compiled and just as fast and functional.
Kyle Holm
@thekholm80
Jun 30 2017 03:17
oh, i saw a good one the other day, one sec
slri
@slri
Jun 30 2017 03:17
Omg
It's because you need to reassign the delete event handler again
Ellyria
@Ellyria
Jun 30 2017 03:17
That's very nice, @pkpraveen603! All your links work and it looks really polished! And if you'd like an example of a form for sending email, this one might be useful: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_mail
Ryan Draves
@RyanDraves
Jun 30 2017 03:18
@RuinIsProbablyTaken huh?
slri
@slri
Jun 30 2017 03:18
Because you're remaking all of them, you need to reassign the handler because it's no longer the same element
Well, set of elements
Ryan Draves
@RyanDraves
Jun 30 2017 03:18
how do I reassign it?
slri
@slri
Jun 30 2017 03:18
You need to refresh the handler
Kyle Holm
@thekholm80
Jun 30 2017 03:18
aww i can't find it
Ryan Draves
@RyanDraves
Jun 30 2017 03:18
...I don't know how to do that
slri
@slri
Jun 30 2017 03:18
Just do a handler assignment in the getStreams function itself
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:18
@thekholm80 it's 6 gb only
Anon
@MikeyZee
Jun 30 2017 03:18
:'(
slri
@slri
Jun 30 2017 03:18
ez
Ryan Draves
@RyanDraves
Jun 30 2017 03:19
can you help me with that?
slri
@slri
Jun 30 2017 03:20
move the lines from 100 to wherever the delete click handler ends from the ready function into getStreams
Paste it at the bottom of the function when the for loop is done
damarnadh
@damarnadh
Jun 30 2017 03:20

@RuinIsProbablyTaken // Only change code below this line
switch(val){
case val== 1:
answer='/"alpha/"';
break;
case val==2:
answer='/"beta/"';
break;
case val==3:
answer='/"gamma/"';
break;
case val==4:
answer='/"delta/"';
break;
}

// Only change code above this line
return answer;
}

slri
@slri
Jun 30 2017 03:21
@damarnadh you're already comparing val, no need to compare twice, it should be case 1 etc instead of case val == 1
Kyle Holm
@thekholm80
Jun 30 2017 03:21
@Manish-Giri found it, check this out
slri
@slri
Jun 30 2017 03:22
also idk why you're escaping quotes there
Ryan Draves
@RyanDraves
Jun 30 2017 03:22
@RuinIsProbablyTaken perfect! thank you so much! I'm a bit lost on what happened, however... do you have a quick explanation?
CamperBot
@camperbot
Jun 30 2017 03:22
ryandraves sends brownie points to @ruinisprobablytaken :sparkles: :thumbsup: :sparkles:
:cookie: 743 | @ruinisprobablytaken |http://www.freecodecamp.com/ruinisprobablytaken
slri
@slri
Jun 30 2017 03:22
@RyanDraves Ok so have you played any games by any chance?
Ryan Draves
@RyanDraves
Jun 30 2017 03:23
how do you mean? video games? of course
Manish Giri
@Manish-Giri
Jun 30 2017 03:23
@thekholm80 that looks cool
534 lines
Kyle Holm
@thekholm80
Jun 30 2017 03:23
@Manish-Giri it's a little buggy, but i like how it looks
more polished than mine
Riley
@Riley1435
Jun 30 2017 03:25
Someone wanna run through my wikipedia viewer code? Cannot seem to find the error with displaying the api data (title and snippet).
Anon
@MikeyZee
Jun 30 2017 03:25
Please :)
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:26
@thekholm80 feels clunky but prietter
Kyle Holm
@thekholm80
Jun 30 2017 03:26
yeah
makes me want to redraw my sprites
slri
@slri
Jun 30 2017 03:27
@RyanDraves like an mmo. lets say you made a char named ebola, you delete that char but before you do you take off one of the costumes tied to that char and put it in the account bank. now you make a char with the same name and try to use the costume on that char but it doesn't work even though it's bound to the same name. the difference is that the name it's bound to doesn't matter since it's bound to the character itself, the instance of the character. if you delete it, you deleted the instance of that character and therefore you deleted the one and only owner of that costume. same thing happens in javascript, even though you tied that click handler to all elements with the delete class, as soon as you remove the instance of those elements when you assigned the handler to them javascript interpreter will think that there are no such elements any more because you didn't say "hey i just made new elements with the same class, these are the ones you should look at now and forget the ones that were there previously"
AmirHamzaTanvir
@AmirHamzaTanvir
Jun 30 2017 03:27

‘''var Bike = function() {

// Only change code below this line.
var gear = 0;

this.setGear = function(gear){
gear += gear;
};
this.getGear = function(){
return gear;
};
};

Ryan Draves
@RyanDraves
Jun 30 2017 03:27
@RuinIsProbablyTaken I think I get it now. All the "X"'s with the click event were removed, and just because I added new ones doesn't mean they were assigned that event, that was just from document.ready. so putting it in the getStreams kept refreshing it
AmirHamzaTanvir
@AmirHamzaTanvir
Jun 30 2017 03:27
code isnt returning a new gear
korzo
@korzo
Jun 30 2017 03:27

@Riley1435

document.getElementById(".wiki-input").blur();

Here is the error, because .wiki-input is not found

slri
@slri
Jun 30 2017 03:28
@RyanDraves Yuppers
Manish Giri
@Manish-Giri
Jun 30 2017 03:28
why tf would you name anything ebola
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:28
@RuinIsProbablyTaken that is like the most genuis explaination I've read. Ty
CamperBot
@camperbot
Jun 30 2017 03:28
nahuelovejero sends brownie points to @ruinisprobablytaken :sparkles: :thumbsup: :sparkles:
:cookie: 744 | @ruinisprobablytaken |http://www.freecodecamp.com/ruinisprobablytaken
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:28
Rengar E : bola strike
Ryan Draves
@RyanDraves
Jun 30 2017 03:28
@NahuelOvejero hue hue hue
Riley
@Riley1435
Jun 30 2017 03:28
@korzo I knew it was something small! thanks!
CamperBot
@camperbot
Jun 30 2017 03:28
:cookie: 197 | @korzo |http://www.freecodecamp.com/korzo
riley1435 sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
Kyle Holm
@thekholm80
Jun 30 2017 03:28
why wouldn't you name your char ebola?
that name is sick
Riley
@Riley1435
Jun 30 2017 03:29
@korzo been at it for 8+ hours today :/
Ryan Draves
@RyanDraves
Jun 30 2017 03:29
@RuinIsProbablyTaken what a great explanation! thanks for all your help, I'm almost done with my project now :)
CamperBot
@camperbot
Jun 30 2017 03:29
ryandraves sends brownie points to @ruinisprobablytaken :sparkles: :thumbsup: :sparkles:
:warning: ryandraves already gave ruinisprobablytaken points
Dario
@destrabao89
Jun 30 2017 03:29
Hey all. Is there any guide I may have missed in the forums to help with the portfolio project? I'm feeling a bit overwhelmed and hesitant to start, not really knowing where to begin. Any tips would be great!
Manish Giri
@Manish-Giri
Jun 30 2017 03:29
@AmirHamzaTanvir
this.setGear = function(gear){
gear += gear;
  1. name the local var something else
  2. += should be just =
damarnadh
@damarnadh
Jun 30 2017 03:29

function caseInSwitch(val) {
  var answer = "";
  // Only change code below this line
  switch(val){
    case  1:
      answer='/"alpha/"';
      break;
       case  2:
      answer='/"beta/"';
      break;
       case  3:
      answer='/"gamma/"';
      break;
       case 4:
      answer='/"delta/"';
      break;
  }


  // Only change code above this line  
  return answer;  
}

// Change this value to test
caseInSwitch(1);
slri
@slri
Jun 30 2017 03:30
@destrabao89 begin wherever. make a list of things you wanna put on there and start with something small
Claudio Restifo
@Marmiz
Jun 30 2017 03:31
@damarnadh whay are you escaping the " in the expression?
you can simply assign the var a new string
answer = 'some string'
slri
@slri
Jun 30 2017 03:31
@Marmiz 11/10 code
Riley
@Riley1435
Jun 30 2017 03:32
@destrabao89 I felt super overwhelmed when i came to that project. I have skipped over it for now and have moved on. I plan on coming back to it once i finish up the intermediate developer projects. The more coding you do through the other projects, the more ideas you will have when creating your portfolio.
Claudio Restifo
@Marmiz
Jun 30 2017 03:33
@RuinIsProbablyTaken full of return statements in Switch, everyone knows that!
--> brain :fire: :bomb: :skull:
slri
@slri
Jun 30 2017 03:33
@Marmiz but that nasty equal sign
korzo
@korzo
Jun 30 2017 03:34
@Riley1435 Glad to help.
Yeah, those type of bugs is hardest to spot.
Dario
@destrabao89
Jun 30 2017 03:34
That's what I was thinking of doing @Riley1435 , I'd hate to make some super basic portfolio that I'd just be unhappy with. But I think I'll take your advice too @RuinIsProbablyTaken and maybe at least sketch out an outline or something. Thanks both!
CamperBot
@camperbot
Jun 30 2017 03:34
destrabao89 sends brownie points to @riley1435 and @ruinisprobablytaken :sparkles: :thumbsup: :sparkles:
:cookie: 263 | @riley1435 |http://www.freecodecamp.com/riley1435
:cookie: 745 | @ruinisprobablytaken |http://www.freecodecamp.com/ruinisprobablytaken
slri
@slri
Jun 30 2017 03:35
@destrabao89 you can always come back to it
Kyle Holm
@thekholm80
Jun 30 2017 03:38
@Manish-Giri x
Manish Giri
@Manish-Giri
Jun 30 2017 03:39
rofl
:cat: :dog:
Ross Scarborough
@SourceHorse
Jun 30 2017 03:39
anyone know why my image isn't scaling with my columns?
SuitedHound
@SuitedHound
Jun 30 2017 03:39
Does codepen not except imgur links or png's?
Ross Scarborough
@SourceHorse
Jun 30 2017 03:40
i used class img-responsive
Kyle Holm
@thekholm80
Jun 30 2017 03:40
codepen and imgur don't play nice
SuitedHound
@SuitedHound
Jun 30 2017 03:40
what would you suggest upload images to then?
slri
@slri
Jun 30 2017 03:40
@SuitedHound it does, but imgur doesn't I believe, don't take my word for it tho
SuitedHound
@SuitedHound
Jun 30 2017 03:40
to use the links in my coding
Ross Scarborough
@SourceHorse
Jun 30 2017 03:41
i just started using imgbb
Manish Giri
@Manish-Giri
Jun 30 2017 03:41
dropbox
Kyle Holm
@thekholm80
Jun 30 2017 03:41
there are tons out there
Claudio Restifo
@Marmiz
Jun 30 2017 03:42
@SourceHorse 'cos you are using Bootstrap 4, and in V.4 the class is called .img-fluid
Manish Giri
@Manish-Giri
Jun 30 2017 03:42
@thekholm80 buy me a mac
Kyle Holm
@thekholm80
Jun 30 2017 03:42
a big mac?
Manish Giri
@Manish-Giri
Jun 30 2017 03:42
:sweat:
Ross Scarborough
@SourceHorse
Jun 30 2017 03:42
is img-responsive bootstrap3?
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:42
don't talk about food rigth now pls
SuitedHound
@SuitedHound
Jun 30 2017 03:42
@Manish-Giri Why do you want a Mac?
Kyle Holm
@thekholm80
Jun 30 2017 03:43
@SuitedHound he doesn't want to learn to use real computers
SuitedHound
@SuitedHound
Jun 30 2017 03:43
lmao
Kyle Holm
@thekholm80
Jun 30 2017 03:43
and really wants something that will match his purse
Ross Scarborough
@SourceHorse
Jun 30 2017 03:43
thanks @Marmiz
CamperBot
@camperbot
Jun 30 2017 03:43
sourcehorse sends brownie points to @marmiz :sparkles: :thumbsup: :sparkles:
:cookie: 977 | @marmiz |http://www.freecodecamp.com/marmiz
slri
@slri
Jun 30 2017 03:43
Kyle, buy me a Mac, at least I have purses that match :^)
Kyle Holm
@thekholm80
Jun 30 2017 03:43
lol
SuitedHound
@SuitedHound
Jun 30 2017 03:44
Or get a pc for half the price and twice the power :D
Kyle Holm
@thekholm80
Jun 30 2017 03:44
^
Manish Giri
@Manish-Giri
Jun 30 2017 03:44
@RuinIsProbablyTaken you can get 10 macs by yourself now
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:44
And C#
Manish Giri
@Manish-Giri
Jun 30 2017 03:44
:smirk:
Kyle Holm
@thekholm80
Jun 30 2017 03:44
i looked at what it would cost to get a mac with my laptop's specs
slri
@slri
Jun 30 2017 03:44
@Manish-Giri wdym i have no sponsors ok
i'm not that smart ok
SuitedHound
@SuitedHound
Jun 30 2017 03:45
@thekholm80 What's the cost?
Kyle Holm
@thekholm80
Jun 30 2017 03:45
over $3k
tao
@Azerop
Jun 30 2017 03:45
alt
SuitedHound
@SuitedHound
Jun 30 2017 03:45
what are your specs?
Manish Giri
@Manish-Giri
Jun 30 2017 03:45
i7
1TB SSD
3.2 GHz
SuitedHound
@SuitedHound
Jun 30 2017 03:45
not you maniish
Kyle Holm
@thekholm80
Jun 30 2017 03:45
i7 16gb ram 250gb ssd
Manish Giri
@Manish-Giri
Jun 30 2017 03:46
I was talking about Kyle, not me
tao
@Azerop
Jun 30 2017 03:46
Screen Shot 2017-06-30 at 11.43.56 AM.png
water-melon91
@water-melon91
Jun 30 2017 03:46
Hello sir , I want to learn node js step by step , how to i learn. Please
SuitedHound
@SuitedHound
Jun 30 2017 03:46
@thekholm80 Nice, and how much did it cost you? Im going to put my money on 500-600 before graphics card
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:47
@Azerop you can't use local files, you need to host them somewhere
Manish Giri
@Manish-Giri
Jun 30 2017 03:47
@Azerop you need to store your images somewhere
like dropbox
tao
@Azerop
Jun 30 2017 03:47
google drive is okay, too?
slri
@slri
Jun 30 2017 03:47
@thekholm80 how much was that? o _ o
@RuinIsProbablyTaken i paid just over $400 used
slri
@slri
Jun 30 2017 03:48
:)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
meh
Manish Giri
@Manish-Giri
Jun 30 2017 03:48
such smiley
SuitedHound
@SuitedHound
Jun 30 2017 03:48
@thekholm80 That's it? And before or after card?
Manish Giri
@Manish-Giri
Jun 30 2017 03:48
much fail
slri
@slri
Jun 30 2017 03:48
how do you escape things ok
Kyle Holm
@thekholm80
Jun 30 2017 03:48
think it was like $460 with the doc
slri
@slri
Jun 30 2017 03:48
i'm not that smart
tao
@Azerop
Jun 30 2017 03:48
@NahuelOvejero @Manish-Giri thank you two guys
CamperBot
@camperbot
Jun 30 2017 03:48
azerop sends brownie points to @nahuelovejero and @manish-giri :sparkles: :thumbsup: :sparkles:
:cookie: 780 | @nahuelovejero |http://www.freecodecamp.com/nahuelovejero
:star2: 6150 | @manish-giri |http://www.freecodecamp.com/manish-giri
Claudio Restifo
@Marmiz
Jun 30 2017 03:48
@Manish-Giri I don't think you can host stuff on Dropbox anymore, I received an e-mail about change of terms of service regarding hosting with public link.
Kyle Holm
@thekholm80
Jun 30 2017 03:49
@SuitedHound card?
Claudio Restifo
@Marmiz
Jun 30 2017 03:49
It's supposed to be between teams only, no more "public" folder
Manish Giri
@Manish-Giri
Jun 30 2017 03:49
@Marmiz I just executed a query from a CSV file shared thru dropbox
SuitedHound
@SuitedHound
Jun 30 2017 03:49
@thekholm80 Graphics Card
Manish Giri
@Manish-Giri
Jun 30 2017 03:49
it worked
Claudio Restifo
@Marmiz
Jun 30 2017 03:49
@Manish-Giri So Dropbox is lying to me :fire:
Kyle Holm
@thekholm80
Jun 30 2017 03:49
@SuitedHound it's a laptop. my gaming rig was a bit more
slri
@slri
Jun 30 2017 03:50
Kyle can we get married
I'm sick of playing at 9 fps pls
Kyle Holm
@thekholm80
Jun 30 2017 03:50
lol
SuitedHound
@SuitedHound
Jun 30 2017 03:50
@RuinIsProbablyTaken Then dont buy a mac
because instead of 9fps you just wont be able to play
Kyle Holm
@thekholm80
Jun 30 2017 03:50
how about we just skip straight to the divorce and i give you the computer? @RuinIsProbablyTaken
slri
@slri
Jun 30 2017 03:51
No but I like cuddles too
:C
Kyle Holm
@thekholm80
Jun 30 2017 03:51
oh well that's different then lol
slri
@slri
Jun 30 2017 03:51
did i just legit get rejected
Subramanya Chakravarthy
@chakrihacker
Jun 30 2017 03:51
@thekholm80 lolzz skip to divorce
slri
@slri
Jun 30 2017 03:51
wow
Manish Giri
@Manish-Giri
Jun 30 2017 03:51
programmers have no life anyway
Subramanya Chakravarthy
@chakrihacker
Jun 30 2017 03:51
@RuinIsProbablyTaken please don't spam, it's only for developer things
Kyle Holm
@thekholm80
Jun 30 2017 03:51
I'd marry you for a Spanish green card
and spanish lessons
Manish Giri
@Manish-Giri
Jun 30 2017 03:52
@RuinIsProbablyTaken please don't spam, it's only for developer things
SuitedHound
@SuitedHound
Jun 30 2017 03:52
@thekholm80 Why do you want to migrate to Spain?
Manish Giri
@Manish-Giri
Jun 30 2017 03:52
rofl
Subramanya Chakravarthy
@chakrihacker
Jun 30 2017 03:52
@RuinIsProbablyTaken you can dm @thekholm80
Manish Giri
@Manish-Giri
Jun 30 2017 03:52
nope
Kyle Holm
@thekholm80
Jun 30 2017 03:52
@SuitedHound nah, mostly joking
Manish Giri
@Manish-Giri
Jun 30 2017 03:53
I'd migrate to spain
any day
Barcelona :heart:
Kyle Holm
@thekholm80
Jun 30 2017 03:53
too much soccer
SuitedHound
@SuitedHound
Jun 30 2017 03:53
I'd migrate to the Moon to be away from everyone
Manish Giri
@Manish-Giri
Jun 30 2017 03:54
you could migrate to north-eastern russia if you just want to be away
SuitedHound
@SuitedHound
Jun 30 2017 03:54
I don't want to freeze to death... wait
Manish Giri
@Manish-Giri
Jun 30 2017 03:54
and moon has spring-ish weather? lol
SuitedHound
@SuitedHound
Jun 30 2017 03:54
th-th-thats the joke
slri
@slri
Jun 30 2017 03:54
@chakrihacker When you write more developer things on this channel then me you can talk.
Manish Giri
@Manish-Giri
Jun 30 2017 03:55
sigh
slri
@slri
Jun 30 2017 03:55
Go get a life, a hobby, something; stop being unnecessarily correct
SuitedHound
@SuitedHound
Jun 30 2017 03:55
Don't make fun of my inability to use sarcasm correctly
Claudio Restifo
@Marmiz
Jun 30 2017 03:55
You can always tell everyone you are ready for a full stable relationship. You'll see how everyone suddenly disappears :)
Kyle Holm
@thekholm80
Jun 30 2017 03:55
lol
Manish Giri
@Manish-Giri
Jun 30 2017 03:55
:hand:
slri
@slri
Jun 30 2017 03:55
@thekholm80 I'm not Spanish
Manish Giri
@Manish-Giri
Jun 30 2017 03:56
somehow all I get are flings
SuitedHound
@SuitedHound
Jun 30 2017 03:56
@RuinIsProbablyTaken cookie?
slri
@slri
Jun 30 2017 03:56
I do live here, not spanish
@Manish-Giri you're my spirit animal
Manish Giri
@Manish-Giri
Jun 30 2017 03:56
:two_hearts:
Kyle Holm
@thekholm80
Jun 30 2017 03:56
@RuinIsProbablyTaken you are lucky
SuitedHound
@SuitedHound
Jun 30 2017 03:57
also i just realized this entire conversation is happening in the help channel...
Kyle Holm
@thekholm80
Jun 30 2017 03:57
that's how chat works
Manish Giri
@Manish-Giri
Jun 30 2017 03:57
either Barcelona or Sevilla or Malaga
slri
@slri
Jun 30 2017 03:58
@thekholm80 Spain is a hot mess, it's like Britney during her meltdowns, but permanent
Manish Giri
@Manish-Giri
Jun 30 2017 03:58
any place that has soccer and beaches
SuitedHound
@SuitedHound
Jun 30 2017 03:58
@Manish-Giri Welcome to most coastal arras
areas*
Kyle Holm
@thekholm80
Jun 30 2017 03:58
@RuinIsProbablyTaken I live in Utah. the only thing worse would be Kansas, or the middle east. about a toss-up
Subramanya Chakravarthy
@chakrihacker
Jun 30 2017 03:58
@RuinIsProbablyTaken you don't have to write more things to tell you, any way thanks for the suggestion
CamperBot
@camperbot
Jun 30 2017 03:58
chakrihacker sends brownie points to @ruinisprobablytaken :sparkles: :thumbsup: :sparkles:
:cookie: 746 | @ruinisprobablytaken |http://www.freecodecamp.com/ruinisprobablytaken
Kyle Holm
@thekholm80
Jun 30 2017 03:58
or ohio
Manish Giri
@Manish-Giri
Jun 30 2017 03:58
ohio is #$#$#$##
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 03:59
soccer and bitchis
Kyle Holm
@thekholm80
Jun 30 2017 03:59
I want to live in Southern France
like Nice
slri
@slri
Jun 30 2017 03:59
I want to live in Finland
Haha France
Good one
Manish Giri
@Manish-Giri
Jun 30 2017 04:00
north eastern russia is also a good option
I like the cold
Kyle Holm
@thekholm80
Jun 30 2017 04:00
i hear they need lots of devs
Manish Giri
@Manish-Giri
Jun 30 2017 04:00
yeah let's go
Kyle Holm
@thekholm80
Jun 30 2017 04:02
@RuinIsProbablyTaken finland would be awesome but it would take a while for me to get used to their food
slri
@slri
Jun 30 2017 04:03
Which is like normal food you'd eat in the U.S.?
Kyle Holm
@thekholm80
Jun 30 2017 04:03
Surströmming
nothing normal about that
slri
@slri
Jun 30 2017 04:04
If you went to an Asian country, then yeah
Kyle Holm
@thekholm80
Jun 30 2017 04:04
i'd be fine in Japan, i love rice and noodles
slri
@slri
Jun 30 2017 04:04
Well, I've never tried that, have no idea what it is, and I spent some time in Finland myself
Kyle Holm
@thekholm80
Jun 30 2017 04:04
udon, ramen, so good
Caarn
@Caarn
Jun 30 2017 04:05
Hi everyone I am in need of help..I have stared at my code forever now and have researched for the answer, but am not figuring out what is wrong with the positioning of my bootstrap grid blocks. In my portfolio section of the page there are supposed to be 2 rows of 3 when in lg, md, and sm modes but they are not positioning correctly. I had them lined up correctly 2 days ago, but now they are not and can't figure out what I did to mess it up lol.. here is my codepen: https://codepen.io/Caarn/pen/LLOZpg
Kyle Holm
@thekholm80
Jun 30 2017 04:05
@Manish-Giri iceland. i heard somewhere they have more women than men
Manish-Giri @Manish-Giri heads to expedia
slri
@slri
Jun 30 2017 04:07
@thekholm80 Which is like everywhere?
Kyle Holm
@thekholm80
Jun 30 2017 04:11
@RuinIsProbablyTaken this is what i was referring to
Manish Giri
@Manish-Giri
Jun 30 2017 04:11

@thekholm80 Which is like everywhere?

not in India, at least

Ccs99817
@ccs99817
Jun 30 2017 04:12
I have a question about the codePen
In the JavaScript of codePen, I declare a variable out of the function. However,when I call the variable in the function inside a function it is still in ywllow color which is not defined? Why? Doesn't the variables have a global scope if I do that?
```
var testVar = 0;
function test(){}
I have a question about the codePen
In the JavaScript of codePen, I declare a variable out of the function. However,when I call the variable in the function inside a function it is still in ywllow color which is not defined? Why? Doesn't the variables have a global scope if I do that?
var testVar = 0;
function test(){
     testVar = 100;
}
Kyle Holm
@thekholm80
Jun 30 2017 04:13
is that all the code?
slri
@slri
Jun 30 2017 04:13
@Manish-Giri we know india is an odd place
Manish Giri
@Manish-Giri
Jun 30 2017 04:13
aw :sob:
Kyle Holm
@thekholm80
Jun 30 2017 04:14
callbacks in callbacks in callbacks. passport is interesting
Claudio Restifo
@Marmiz
Jun 30 2017 04:15
@Caarn the col-xs-offset-3 is messing the layout
you are oversizing the 12 grid maximum stacks
Ccs99817
@ccs99817
Jun 30 2017 04:16
@thekholm80 It's just my example.
Here is my actual work.
https://codepen.io/ccs99817/pen/jwYdqX?editors=0010
Caarn
@Caarn
Jun 30 2017 04:17
@Marmiz i was just reading something..does that mean I need to set the sizes before xs to something like this col-sm-offset-0 and so on?
Kyle Holm
@thekholm80
Jun 30 2017 04:17

@ccs99817

function getGeoLocation(){
  if (navigator.geolocation){
    navigator.geolocation.getCurrentPosition(function(position){
      geoLatitiude = position.coords.latitude;
      geoLogitude = position.coords.longitude;
      });
}

you're missing a } after this

Yash Bhardwaj
@imyashbhardwaj
Jun 30 2017 04:17
Hello everyone,
Can anyone Help me with this code:

$(document).ready(function(){
$("#btn").on("click", function() {
var request=new XMLHttpRequest();
request.open('GET','http://ip-api.com/json');
request.onload=function(){
var data
=JSON.parse(request.responseText);
renderhtml(data);
}
request.send();
function renderhtml(mydata){
$("h1").html(mydata.country);
}

//console.log("dsvs");
});
});

its not making any change
Kyle Holm
@thekholm80
Jun 30 2017 04:19
@imyashbhardwaj if you're doing this in codepen your api needs to be severed over https
Yash Bhardwaj
@imyashbhardwaj
Jun 30 2017 04:19
thanks @thekholm80 if you dont mind can u tell me how should i do that
CamperBot
@camperbot
Jun 30 2017 04:19
imyashbhardwaj sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1222 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Ccs99817
@ccs99817
Jun 30 2017 04:20
@thekholm80 I have just added the } . But, the defined var is still in yellow color. Why?
Claudio Restifo
@Marmiz
Jun 30 2017 04:20

@Caarn from the docs:

Grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes, and override grid classes targeted at smaller devices. Therefore, e.g. applying any .col-md- class to an element will not only affect its styling on medium devices but also on large devices if a .col-lg- class is not present.

meaning that in your 2nd and 3rd column the col-offset-sm-3 is applying also for md and lg

slri
@slri
Jun 30 2017 04:20
just instead of http say https
Kyle Holm
@thekholm80
Jun 30 2017 04:20
@imyashbhardwaj it doesn't look like the api you want to use is available in https
Yash Bhardwaj
@imyashbhardwaj
Jun 30 2017 04:21
i changed it to https but it did not work @RuinIsProbablyTaken @thekholm80
Caarn
@Caarn
Jun 30 2017 04:21
@Marmiz ahhh now that makes sense..makes things a little different for sure but that cleared things up for sure thanks man
CamperBot
@camperbot
Jun 30 2017 04:21
caarn sends brownie points to @marmiz :sparkles: :thumbsup: :sparkles:
:cookie: 978 | @marmiz |http://www.freecodecamp.com/marmiz
Claudio Restifo
@Marmiz
Jun 30 2017 04:21
@Caarn :+1:
:sparkles: Documentation :sparkles:
Caarn
@Caarn
Jun 30 2017 04:22
yes lol I should know better
slri
@slri
Jun 30 2017 04:22
@imyashbhardwaj Kyle mentioned it's not available in HTTPS so you need to look for a different service
Kyle Holm
@thekholm80
Jun 30 2017 04:22
@imyashbhardwaj right, i don't think they have a secure option
@ccs99817 i'm not sure what you mean by 'yellow color'
Yash Bhardwaj
@imyashbhardwaj
Jun 30 2017 04:24
ok thanks @RuinIsProbablyTaken and @thekholm80 i will search for different service and will then try it out
CamperBot
@camperbot
Jun 30 2017 04:24
imyashbhardwaj sends brownie points to @ruinisprobablytaken and @thekholm80 :sparkles: :thumbsup: :sparkles:
:cookie: 747 | @ruinisprobablytaken |http://www.freecodecamp.com/ruinisprobablytaken
:warning: imyashbhardwaj already gave thekholm80 points
Caarn
@Caarn
Jun 30 2017 04:25
@Marmiz you can kind of think of it as an going up a waterfall
Claudio Restifo
@Marmiz
Jun 30 2017 04:27

@Caarn I was joking. Quoting one of my coworker after we fixed a bug thanks to an easy fix listed in the doc:

Nobody has time for Documentation

It's written on the fridge of the break room :)

CamperBot
@camperbot
Jun 30 2017 04:27
marmiz sends brownie points to @caarn :sparkles: :thumbsup: :sparkles:
:cookie: 120 | @caarn |http://www.freecodecamp.com/caarn
Kyle Holm
@thekholm80
Jun 30 2017 04:27
i'm going to get RTFM tattooed on me
Manish Giri
@Manish-Giri
Jun 30 2017 04:29
my ex had foutre vous on her wrist
Claudio Restifo
@Marmiz
Jun 30 2017 04:29
Nah, I'm sure SO has an answer for that :laughing:
Manish Giri
@Manish-Giri
Jun 30 2017 04:29
such awesomeness
Kyle Holm
@thekholm80
Jun 30 2017 04:29
lol edgy
l'edgy
samreenaziz
@samreenaziz
Jun 30 2017 04:29
Guyyys... do you have time to help me out with a survey? It's not boring I promise.
Kyle Holm
@thekholm80
Jun 30 2017 04:29
is it long?
will i get an itunes gift card at the end?
Claudio Restifo
@Marmiz
Jun 30 2017 04:30
I'll do it only if the last question is " was this survey boring" so I can say yes regardless :stuck_out_tongue:
samreenaziz
@samreenaziz
Jun 30 2017 04:30
LOL Okay I'm going to add that question in.
Then you guys can do it.
It's not boring.
I promise.
I hope not.
Okay wait.
Manish Giri
@Manish-Giri
Jun 30 2017 04:31
you guys are savage
Claudio Restifo
@Marmiz
Jun 30 2017 04:31
Uni?
samreenaziz
@samreenaziz
Jun 30 2017 04:31
It's not long, it's 15 really not boring questions.
It's for a project WAIIT
Kyle Holm
@thekholm80
Jun 30 2017 04:31
okay, i'll do it
you convinced me
Claudio Restifo
@Marmiz
Jun 30 2017 04:31

@samreenaziz

It's for a project

which one? :)

It's for something I'm personally working on - it's bound to contribute to my thesis.
I just need to get it going.
Manish Giri
@Manish-Giri
Jun 30 2017 04:32
oh man thesis
samreenaziz
@samreenaziz
Jun 30 2017 04:32
And I need you guys to just ask other people to do this, okay? As many people as possible.
Manish Giri
@Manish-Giri
Jun 30 2017 04:33
the things I need to do for my thesis
samreenaziz
@samreenaziz
Jun 30 2017 04:33
I need genuine responses; I can't use my own because, well, I'd feel like I was cheating the authenticity of my project.
LOL.
It's a psychology thesis.
Manish Giri
@Manish-Giri
Jun 30 2017 04:33
much better than my thesis at least
Claudio Restifo
@Marmiz
Jun 30 2017 04:34
@samreenaziz you can make a post on the official forum as well to spread visibility.
I'm sure many people will be willing to help for a Thesis :)
samreenaziz
@samreenaziz
Jun 30 2017 04:35
Gaaahhh this is going to be such a cool project, I'm so excited. Ugh.
This survey is just one of many I'm going to be throwing at you guys.
Alright, alright I will. I just can't give much away about the thesis. These questions are ridiculously weird.
Claudio Restifo
@Marmiz
Jun 30 2017 04:36

@samreenaziz my experience so far:

Q: how old are you?
A: 27.
Form: no suggested answer found
Me: ....

(I'm a difficult customer, I know)

samreenaziz
@samreenaziz
Jun 30 2017 04:36
LOOL 22+
Hahahaha
You're fine.
Awkward. Let me fix that.
WAIT
WAIIT
LET ME GIVE YOU THE NEW ONE
I fixed it
Kyle Holm
@thekholm80
Jun 30 2017 04:38
too late i'm almost done
you said one survey, not 1 1/2
samreenaziz
@samreenaziz
Jun 30 2017 04:39
That's fine, I won't be writing the ages on my submission anyways. It just helped a bit :)
Gulsvi
@gulsvi
Jun 30 2017 04:39
I think you want freecodecamp/sureveyrequests
That's where everyone goes to ask this huge community to fill out demographic info
samreenaziz
@samreenaziz
Jun 30 2017 04:39
HUH, that exists?
Gulsvi
@gulsvi
Jun 30 2017 04:39
we :heart: surveys
samreenaziz
@samreenaziz
Jun 30 2017 04:39
Hahaha alright lemme do it.
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:40
@thekholm80 unity rlz man
Gulsvi
@gulsvi
Jun 30 2017 04:40
Of course it does not exist, you're violating the code of conduct :)
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:40
join the gang
samreenaziz
@samreenaziz
Jun 30 2017 04:41
It's not demographic information! Well not really.
slri
@slri
Jun 30 2017 04:41
savage
samreenaziz
@samreenaziz
Jun 30 2017 04:41
You should see it :) It's harmless.
Gulsvi
@gulsvi
Jun 30 2017 04:41
I'd like to opt out to survey requests please :)
samreenaziz
@samreenaziz
Jun 30 2017 04:42
:) You don't have to do it or respond to every message on here.
Gulsvi
@gulsvi
Jun 30 2017 04:43
I think I spelled that link wrong, the survey requests go here: https://gitter.im/FreeCodeCamp/Admin
Manish Giri
@Manish-Giri
Jun 30 2017 04:43
@thekholm80 x
Kyle Holm
@thekholm80
Jun 30 2017 04:43
@NahuelOvejero maybe some day
Gulsvi
@gulsvi
Jun 30 2017 04:43
:joy:
samreenaziz
@samreenaziz
Jun 30 2017 04:43
Not funny -.-
Gulsvi
@gulsvi
Jun 30 2017 04:43
Okay, I'm done, carry on...
Kyle Holm
@thekholm80
Jun 30 2017 04:43
@Manish-Giri aww
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:43
How do you feel right now? In one word.hard stuff to answer
slri
@slri
Jun 30 2017 04:44
@SkyC0der no pls keep going i've not laughed this much for a while
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:44
is there a word for sad and motivated?
slri
@slri
Jun 30 2017 04:44
sadtivated
samreenaziz
@samreenaziz
Jun 30 2017 04:44
Write both, that's okay, that's interesting.
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:45
Motisad
slri
@slri
Jun 30 2017 04:46
Motisad sounds like a middle-eastern name
Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:46
Hey! I have a question! I hope it's not too dumb...
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:46
@SebasDuranona there are no dumb questions
slri
@slri
Jun 30 2017 04:46
There are no dumb questions
omg
why do people keep doing this
go away = _ =
Kyle Holm
@thekholm80
Jun 30 2017 04:47
why are birds?
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:47
why you copy my answer? duh
I will report you to the ciber police rigth now
slri
@slri
Jun 30 2017 04:48
ciber police sounds scary, but not as scary as cyber police
Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:48
I am setting up my computer to start getting my own app done while I complete the challenges and I wanted some suggestions on text editor...
Kyle Holm
@thekholm80
Jun 30 2017 04:48
i <3 Atom
Manish Giri
@Manish-Giri
Jun 30 2017 04:48
atom
Claudio Restifo
@Marmiz
Jun 30 2017 04:48
vim
Kyle Holm
@thekholm80
Jun 30 2017 04:48
every other answer is wrong
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:48
i sounds more latin, prety salsa, much south , wow
Manish Giri
@Manish-Giri
Jun 30 2017 04:49
ms word
slri
@slri
Jun 30 2017 04:49
Sublime, Atom, Brackets, or if you're a masochist vim
Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:49
I used Atom for python, but I didn't know if it would be the same for HTML
Claudio Restifo
@Marmiz
Jun 30 2017 04:49
vim so you learn to play the piano as well
Jerard Delrosario
@jrardd
Jun 30 2017 04:49

Hi guys I've been stock on the Random Quote Machine for a while and I can't figure out API. Can someone look at my code and maybe tell me what I'm doing wrong? You don't have to provide a solution but maybe just point me in the right direction :(

https://codepen.io/jrard/pen/BZYBOG

Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:49
Ok I'll stick with atom then!
Kyle Holm
@thekholm80
Jun 30 2017 04:49
good call!
slri
@slri
Jun 30 2017 04:50
@jrardd Isn't that a static file
Kyle Holm
@thekholm80
Jun 30 2017 04:50
@jrardd you need to find an api with https
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:50
SublimeText is a bliss, but my boi billy is telling me to say Visual Code
Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:50
That vim sounds interesting, haven't heard of it, but I'll check it outside
slri
@slri
Jun 30 2017 04:50
@SebasDuranona No don't, it's cancer
Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:50
Haha ok
Kyle Holm
@thekholm80
Jun 30 2017 04:51
vim was made for people who hate themselves
Momozor
@momozor
Jun 30 2017 04:51
I think either Sublime, visual code studio can emulate vim mode. So you can get both.
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:51
For the first time, I thinks @RuinIsProbablyTaken is rigth @SebasDuranona . RUUUN
VIM is the most frustrating shit ever
Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:51
I'll just go "shopping" through the suggestions, I didn't even know about the majority of them
slri
@slri
Jun 30 2017 04:51
as long as you know how to quit it, it's fine lol
Sebastian Gomez-Duranona
@SebasDuranona
Jun 30 2017 04:51
Thank you!!
Duplicated
@Duplicated
Jun 30 2017 04:52
vim is for masochists? Didn't know that :O
Manish Giri
@Manish-Giri
Jun 30 2017 04:53
also check out Webstorm, and possibly PyCharm too..
@SebasDuranona
Claudio Restifo
@Marmiz
Jun 30 2017 04:54
Notepad++ or go home
slri
@slri
Jun 30 2017 04:54
Notepad or kys
Kyle Holm
@thekholm80
Jun 30 2017 04:54
pfft just regular notepad
or mousepad on xfce
Momozor
@momozor
Jun 30 2017 04:55
In the end, either Mousepad, Leafpad or Gedit on GNOMish linux do the same thing and the most effective to start.
Kyle Holm
@thekholm80
Jun 30 2017 04:55
not going to lie, i wrote a few static pages in mousepad
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 04:55
I wrote it on paper, then use a scanner, and then use some software to recognice letters, passed it to text-to-voice, and then compile it in my brain :^)
slri
@slri
Jun 30 2017 04:56
gedit is nice for editing files where you don't really need any highlighting like hosts or something o3o
Momozor
@momozor
Jun 30 2017 04:56

gedit is nice for editing files where you don't really need any highlighting like hosts or something o3o

what? gedit has highlighting..

slri
@slri
Jun 30 2017 04:57
i was using it and decided to try vim lol then i had to ask my friend how to quit and save in vim 10/10
it does?
Momozor
@momozor
Jun 30 2017 04:57
yep
slri
@slri
Jun 30 2017 04:57
welp, TIL
Momozor
@momozor
Jun 30 2017 04:58
maybe you meant leafpad. since it almost equivalent to Windows notepad. Simple and small.
Duplicated
@Duplicated
Jun 30 2017 04:58
well, it does take a while to practice vim lol
Claudio Restifo
@Marmiz
Jun 30 2017 04:58
"a while" is reductive ;)
slri
@slri
Jun 30 2017 05:00
i'm almost certain it was gedit
then again, i've not opened my sad fedora vm since i finished school so idk lol
Avery Biskup
@fraknard
Jun 30 2017 05:01
Claudio Restifo
@Marmiz
Jun 30 2017 05:01
@RuinIsProbablyTaken in case you want to give vim another go:
http://www.openvim.com/
slri
@slri
Jun 30 2017 05:01
nope
it's a waste of time
Mwakima Matano
@DonMatano
Jun 30 2017 05:06
@fraknard Nice
Gulsvi
@gulsvi
Jun 30 2017 05:07
@fraknard I think you should make it look like a simon game, that's one of the challenges for that project
Not a requirement though, but makes it a little more authentic looking
Kyle Holm
@thekholm80
Jun 30 2017 05:08
I'm glad i did, i learned so much about svgs from making that game
slri
@slri
Jun 30 2017 05:08
Why would you need SVGs for it .-.
Kyle Holm
@thekholm80
Jun 30 2017 05:08
to draw my game
slri
@slri
Jun 30 2017 05:09
it's the most basic shapes yo
css or riot
Gulsvi
@gulsvi
Jun 30 2017 05:09
border-radius yo
lol slri is hard core
the buttons aren't the most basic shapes
slri
@slri
Jun 30 2017 05:09
yup, i can do that in css without breaking a sweat
Kyle Holm
@thekholm80
Jun 30 2017 05:10
and don't laugh at the code jQuery was really hot back then
Avery Biskup
@fraknard
Jun 30 2017 05:10
@SkyC0der Okay, I like this design better, but maybe I will try to make that design as well.
slri
@slri
Jun 30 2017 05:10
nope, they're extremely easy to do, i can teach ya ;3
i use jquery too wdym
best thing for quick and easy shit tbh
Momozor
@momozor
Jun 30 2017 05:10
what is up with the abrev
Avery Biskup
@fraknard
Jun 30 2017 05:11
Also, that design isn't very responsive..
slri
@slri
Jun 30 2017 05:11
jquery isn't a bad library idk why people greet about it
Kyle Holm
@thekholm80
Jun 30 2017 05:11
@fraknard i didn't design it to be responsive
Gulsvi
@gulsvi
Jun 30 2017 05:12
I only see a blue svg in the bottom
Avery Biskup
@fraknard
Jun 30 2017 05:12
@thekholm80 Have you seen one of these designs that is responsive?
Kyle Holm
@thekholm80
Jun 30 2017 05:12
i have
and i've done some since then
Avery Biskup
@fraknard
Jun 30 2017 05:13
Okay!!
Level32
@BENticLabs
Jun 30 2017 05:13
Object {
_links: Object {
channel: "https://api.twitch.tv/kraken/channels/ELS_CSGO",
self: "https://api.twitch.tv/kraken/streams/ELS_CSGO"
},
stream: Object {
_id: 25614668720,
_links: Object {},
average_fps: 50,
game: "Counter-Strike: Global Offensive",
viewers: 617
}
}
console.log(data); //spits out the above JSON
console.log(data.viewers); //undefined
why is it undefined?
slri
@slri
Jun 30 2017 05:13
@thekholm80 omg
did you literally put script and css stuff inside of the html
Gulsvi
@gulsvi
Jun 30 2017 05:13
image.png
Issue on firefox
Avery Biskup
@fraknard
Jun 30 2017 05:13
So the whole piece just gets smaller?
Gulsvi
@gulsvi
Jun 30 2017 05:13
On chrome it looks great though
Momozor
@momozor
Jun 30 2017 05:13
@SkyC0der same
slri
@slri
Jun 30 2017 05:13
image.png
chrome all the way bois
Kyle Holm
@thekholm80
Jun 30 2017 05:14
yeah, i'm not going back to remake it lol i have 4 more projects and i'm done with FCC
Momozor
@momozor
Jun 30 2017 05:14
still doing nightlife?
Kyle Holm
@thekholm80
Jun 30 2017 05:14
yeah
Level32
@BENticLabs
Jun 30 2017 05:14
Omg, that simon project is a FCC project :O I'm not that far
Momozor
@momozor
Jun 30 2017 05:14
I started with that too..now don't know how to make it real time actually.
Gulsvi
@gulsvi
Jun 30 2017 05:15
I've heard so many conflicts...what do you use for backend without a credit card?
Momozor
@momozor
Jun 30 2017 05:15
I use my own Linux pc.
Kyle Holm
@thekholm80
Jun 30 2017 05:15
i had to give heroku my credit card after 5 projects, but they haven't charged me
now they recommend glitch instead
mlab hasn't asked for a card yet, but they probably will
c9 sucks so i do the dev stuff local
slri
@slri
Jun 30 2017 05:16
heroku asks for a credit card as soon as you try to use one of the addons
Gulsvi
@gulsvi
Jun 30 2017 05:16
Have you tried AWS Lambda?
Kyle Holm
@thekholm80
Jun 30 2017 05:16
nope
Gulsvi
@gulsvi
Jun 30 2017 05:16
I think you get 12 months free
Momozor
@momozor
Jun 30 2017 05:16
@SkyC0der exactly
Gulsvi
@gulsvi
Jun 30 2017 05:16
Up to a certain number of requests
slri
@slri
Jun 30 2017 05:16
proof or it didn't happen
Kyle Holm
@thekholm80
Jun 30 2017 05:16
oh cool
Momozor
@momozor
Jun 30 2017 05:17
but the aws registering part wants a lot of personal information from you.
Kyle Holm
@thekholm80
Jun 30 2017 05:17
i've been using firebase for my SPAs
Gulsvi
@gulsvi
Jun 30 2017 05:17
I haven't tried it, just hear these random rumblings at nodeschool
They already have my credit card, so maybe all moot anyway :)
Manish Giri
@Manish-Giri
Jun 30 2017 05:19
uh AWS
the reason I'm broke today
Momozor
@momozor
Jun 30 2017 05:19
is aws ephemeral based system? Using SQLite database on heroku is a no no for a long term database storage.
when doing URLShortener project and hosting it on Heroku, I always wonder why after 10 minutes, my data in database lost again. I thought it is something wrong about my code, I just realized anything kept in the instance will be refreshed and resets once it sleeps.
Ransike Randeni
@ransikerandeni
Jun 30 2017 05:29
@ransikerandeni
I need a little help here, can anyone help me to find what is wrong with the code ? :smile:
Code error.JPG
Jerard Delrosario
@jrardd
Jun 30 2017 05:29

@thekholm80 I tried different APIs but I still can't get it to work. Am I calling it wrong?

https://codepen.io/jrard/pen/BZYBOG

Manish Giri
@Manish-Giri
Jun 30 2017 05:32
@ransikerandeni after a = a + 1
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 05:32
@ransikerandeni read the instructions
Manish Giri
@Manish-Giri
Jun 30 2017 05:32
a should be 6
Nahuel Ovejero
@NahuelOvejero
Jun 30 2017 05:33
@ransikerandeni how they should be initialized
Justin Kim
@jinsukmik
Jun 30 2017 05:33
I just have a question
what api are you calling
Jerard Delrosario
@jrardd
Jun 30 2017 05:34
@jinsukmik Me?
Justin Kim
@jinsukmik
Jun 30 2017 05:34
and when i say what API - i really mean is FORISMATIC a site that actually offers an API?
yes
usually sites have documentation on how you call for their api's
and they have different documentation because they have different SECURITY concerns
Ruben Debbarma
@Rubendebbarma
Jun 30 2017 05:34
@ransikerandeni put a=5 and b=10 and c="I am a"
Justin Kim
@jinsukmik
Jun 30 2017 05:35
for example some sites might want you to have a secret question/token api access key and stuff
question---- i meant to say secret name
rdomjr6
@rdomjr6
Jun 30 2017 05:35
im stuck on where to add the image responsive class to the dutch custom css for bootstrap challenge. any help?
Ruben Debbarma
@Rubendebbarma
Jun 30 2017 05:36
@rdomjr6 send your code problem..
Momozor
@momozor
Jun 30 2017 05:36
thus you got forismatic api usage example on codepen - https://codepen.io/dting/pen/PqrZgb
Jerard Delrosario
@jrardd
Jun 30 2017 05:37

well when I enter this in the browser I get a response

https://api.forismatic.com/api/1.0/?method=getQuote&key=457653&format=json&lang=en

does that mean something?
:(
Manish Giri
@Manish-Giri
Jun 30 2017 05:38
that's the quote
Justin Kim
@jinsukmik
Jun 30 2017 05:39
means you just need to put it in <script src=""> </script>
Ransike Randeni
@ransikerandeni
Jun 30 2017 05:39
@Manish-Giri @NahuelOvejero @Rubendebbarma Thanks everyone :smile:
CamperBot
@camperbot
Jun 30 2017 05:39
ransikerandeni sends brownie points to @manish-giri and @nahuelovejero and @rubendebbarma :sparkles: :thumbsup: :sparkles:
:cookie: 162 | @rubendebbarma |http://www.freecodecamp.com/rubendebbarma
:star2: 6155 | @manish-giri |http://www.freecodecamp.com/manish-giri
:cookie: 781 | @nahuelovejero |http://www.freecodecamp.com/nahuelovejero
Justin Kim
@jinsukmik
Jun 30 2017 05:39
its
forget what i said
rdomjr6
@rdomjr6
Jun 30 2017 05:39

@Rubendebbarma <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

<style>

h2 {
font-family: Lobster, Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}


</style>

<div class="container-fluid">
<h2 class="text-center text-primary">CatPhotoApp</h2>


<a href="#"><img class="thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a>

<img src="https://bit.ly/fcc-running-cats" class="img-responsive" alt="Three kittens running towards the camera. ">
<div class="row">
<div class="col-xs-4">
<button class="btn btn-block btn-primary">Like</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-info">Info</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-danger">Delete</button>
</div>
</div>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
<label><input type="checkbox" name="personality"> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Crazy</label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>

Justin Kim
@jinsukmik
Jun 30 2017 05:39
its super easy to try something like google maps
rdomjr6
@rdomjr6
Jun 30 2017 05:40
@Rubendebbarma just stuck on where the image responsive class goes
Jerard Delrosario
@jrardd
Jun 30 2017 05:41
oh I just entered that new address in my code and it worked lol!
thanks for the advice @jinsukmik
CamperBot
@camperbot
Jun 30 2017 05:41
jrardd sends brownie points to @jinsukmik :sparkles: :thumbsup: :sparkles:
:cookie: 195 | @jinsukmik |http://www.freecodecamp.com/jinsukmik
Ruben Debbarma
@Rubendebbarma
Jun 30 2017 05:43
@rdomjr6 which topic are you in stuck?
Justin Kim
@jinsukmik
Jun 30 2017 05:44
rdomjr6
@rdomjr6
Jun 30 2017 05:44
@Rubendebbarma the challenge is to ditch custom css for bootstrap. it says i have to remove the smaller image class and add img-responsve
Duplicated
@Duplicated
Jun 30 2017 05:45
Applied Visual Design chapter is pretty overwhelming with info, damn
The more I go through the chapter, the less I think I know lol
Ruben Debbarma
@Rubendebbarma
Jun 30 2017 05:48
@rdomjr6 in your first image link put these code <a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a> replace with your code.
Jerard Delrosario
@jrardd
Jun 30 2017 05:49
Soo what I understand is, different API have their own methods to call their elements, and I have to learn what they are for the one I want to use?
Ruben Debbarma
@Rubendebbarma
Jun 30 2017 05:49
@rdomjr6 you got it?
Justin Kim
@jinsukmik
Jun 30 2017 05:49
well usually its just like the <script> thing like before
but
API are essentially databases
so
your going to make your own database down the road
samreenaziz
@samreenaziz
Jun 30 2017 05:49
D: You guys didn't respond to the survey.
Justin Kim
@jinsukmik