These are chat archives for FreeCodeCamp/Help

15th
Jan 2015
seahik
@seahik
Jan 15 2015 14:11
hulllooo...anyone know how if it's possible to store a carriage return / line break in an array?
I've tried /n /r /rn, and a variety of unicode, but doesn't seem to work
Bin Ury
@teddy-error
Jan 15 2015 14:14
well, those are backwards should be \n
but yeah you can
the question is somewhat unclear, so perhaps ive misunderstood what you mean to ask
seahik
@seahik
Jan 15 2015 14:15
ack...ok I have tried \n, \r and \rn also.
just sec I'll get my code and the challenge
Bin Ury
@teddy-error
Jan 15 2015 14:15
Name = "Dusty\n"
=> "Dusty
"
mylist.push(Name);
mylist
=> ["Dusty
"]
seahik
@seahik
Jan 15 2015 14:29
ah ok thanks a lot ill try that. I have to first get it working again. I hate when I try to fix someting and muck it up even further
and here is it on codepen
this is the link to the repo
https://github.com/seahik/Temp-Converter
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:03
add www to the jquery link
wait
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:06
so is it working now?
seahik
@seahik
Jan 15 2015 15:06
maybe that will help....it might take up to 30 minutes to reflect on page....so I'll check back
Thanks for looking though! It'd be cool if can get to work
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:07
is your functions.js in the same folder as index.html
?
seahik
@seahik
Jan 15 2015 15:07
and regardless it's been cool to play around with Git
hmmm....not sure. I thought they were all in same folder if were in same repo
the html is pulling from the css file....so it can see that one
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:10
they are all in the same folder I see
Maxim Orlov
@Maximization
Jan 15 2015 15:10
@serhiicss you sure this isn't required as well? <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:10
you also have an error on line 72
@Maximization I have my jquery linked that way
seahik
@seahik
Jan 15 2015 15:13
i had it originally as
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
is the jquery-migrate different?
error in line 72 for functions.js ?
$(document).ready(main);
Maxim Orlov
@Maximization
Jan 15 2015 15:14
@serhiicss I can't find your jquery page
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:15
webdev tools show error on line 72, not sure if is relevant
Maxim Orlov
@Maximization
Jan 15 2015 15:15
@seahik It's easier if you just include your own jquery file
seahik
@seahik
Jan 15 2015 15:15
i had that originally
Maxim Orlov
@Maximization
Jan 15 2015 15:16
alright let's do that then, can you upload your jquery file back to the repo?
seahik
@seahik
Jan 15 2015 15:16
here have been my attempts so far:
  1. Uploaded jquery file and linked to it html
  2. Removed jquery file and added <script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
  3. Changed jquery link to https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:17
I got it!
I think lol
seahik
@seahik
Jan 15 2015 15:17
hehe.. what?! :)
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:17
you need to have jquery load before functions.js
swap the lines
Maxim Orlov
@Maximization
Jan 15 2015 15:18
yeah I was about to say that
there you go
seahik
@seahik
Jan 15 2015 15:19
Yayayayaya!!!!!!!!!!!!!!!!!
thanks so much guys
seahik
@seahik
Jan 15 2015 15:20
it's so amazing to come on and get help :)
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:21
:)
I like your project btw. Very clean design
seahik
@seahik
Jan 15 2015 15:21
@serhiicss haha the worst is when you tear something completely irrelevant apart...when the problem was being caused elsewhere....urrghhh
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:22
@seahik so true
Maxim Orlov
@Maximization
Jan 15 2015 15:22
when I try to debug my code I change something, see if it works and then always change back so I don't end up with a mess
seahik
@seahik
Jan 15 2015 15:22
ah thanks very much. I was inspired by other peoples learning projects
@Maximization yes definitley good plan
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:23
Now I have a question. How to revert last github push?
seahik
@seahik
Jan 15 2015 15:23
ah this is so cool i can push a lot of little test projects there
Napelazam
@Napelazam
Jan 15 2015 15:24
where is again the fcc irc website?
its a black site with green font. like matrix in retro
seahik
@seahik
Jan 15 2015 15:25
@serhiicss ah great question...I will play around with Git and see if can confirm that for you. I'm reading GitHub cheatsheet
@Napelazam I'm not sure I've been on the fcc irc site
Napelazam
@Napelazam
Jan 15 2015 15:27
i think its more a landing page, with the information about the irc server and so
i have forgotten :/
Maxim Orlov
@Maximization
Jan 15 2015 15:30
it's just from a blog though. I'm surprised I can't find anything yet on offical help docs.
Serhii Borovskyi
@serhiicss
Jan 15 2015 15:35
Thank you!
seahik
@seahik
Jan 15 2015 15:37
here also is a sort of official page from an employee of Github. It was linked on @Maximization's link http://schacon.github.io/git/git-revert.html
yw!
@Napelazam This is linked to on Challenge 32. http://webchat.freenode.net/
Napelazam
@Napelazam
Jan 15 2015 16:34
@seahik noo. its not the landing page.....