13th
Nov 2017
Nov 13 2017 00:51
@cmurphy580 - I have not heard of that term "click toss add on"? What is it?
texirv0203
@texirv0203
Nov 13 2017 00:54

@all hi,

using hashtable how to find which number is ocurring how many times for example in 33767999we need to 3 has occurred 2 times, 7 two times and 9 three times

Nov 13 2017 01:02
@texirv0203 - I'm putting answers for your questions in the HelpFrontEnd room, since that is where I saw it first. Let's keep the discussion there. It isn't a good idea to "spam" a question in multiple rooms... But you definitely want to keep out of the FreeCodeCamp room if you want to get help. :)
DistinctWolf
@DistinctWolf
Nov 13 2017 01:34
How would you find the permutation of ABCDE switching the letters to the last index seems to work for four letters word but it doesn't work for others. Let alone solving it i just don't understand how the whole process works. Can someone please give me a simple explanation process
Dan Couper
@DanCouper
Nov 13 2017 01:38
Easiest is Heap's Algorithm: the wiki page describes the steps, then gives a solution in pseudo-code, so you might have a go writing that in JS. https://en.m.wikipedia.org/wiki/Heap%27s_algorithm
DistinctWolf
@DistinctWolf
Nov 13 2017 01:42
@DanCouper I already tried to understand that but i just can't see what is going on maybe the variables get me confused or i don't see the pattern that's happening to get all the permutation
Long Nguyen
@longnt80
Nov 13 2017 01:43
@FlashHero you just need to convert the Heap's algorithm to javascript
DistinctWolf
@DistinctWolf
Nov 13 2017 01:46
@longnt80 i just don't see the pattern or what it's doing to get the permutations. I have been looking at that Wikipedia page for about a week and still it doesn't click on my mind
Long Nguyen
@longnt80
Nov 13 2017 01:47
@FlashHero use the pseudo-code to convert to javascript
Permutation is a hard to grasp
if you're not good with math, you won't be able to understand it right away
but you can still solve the algorithm by borrowing Heap's pseudo-code
DistinctWolf
@DistinctWolf
Nov 13 2017 01:50
@longnt80 I get how to solve for permutations with math but generating patterns is the hard part of it and it's the last algorithm i got to solve so i can't wait to get it done lol
Dan Couper
@DanCouper
Nov 13 2017 01:50
Look at Rosetta Code for examples - a set of unique permutations is called a derangement, here's derangements in a few languages: https://rosettacode.org/wiki/Permutations/Derangements . You generally have an empty object/array, and make a loop that keeps generating new permutations, and adds them to the object/array if that permutation isn't already present. You can tell how many permutations there are in advance as well (its the factorial of however many things you have, it's combinations, not permutations tbh)
If you're stuck, Google heaps algorithm in JavaScript, there will be hundreds of different examples, it's a common task.
And Python has a module called itertools, which has a permutations function, that can almost be translated to us line by line
DistinctWolf
@DistinctWolf
Nov 13 2017 01:54
@DanCouper ok man thanks, hopefully I will be able to solve it now
CamperBot
@camperbot
Nov 13 2017 01:54
flashhero sends brownie points to @dancouper :sparkles: :thumbsup: :sparkles:
DistinctWolf
@DistinctWolf
Nov 13 2017 01:55
@longnt80 thanks
CamperBot
@camperbot
Nov 13 2017 01:55
flashhero sends brownie points to @longnt80 :sparkles: :thumbsup: :sparkles:
Dan Couper
@DanCouper
Nov 13 2017 01:56
It's a pain in the ass to do, takes a long while to click. It's easier with recursion, but JS is bad at that so you have to do a lot of faffing around with loops and swapping things normally
DistinctWolf
@DistinctWolf
Nov 13 2017 01:58
yeah I wasn't really introduced to this concept of recursion, I learned it about a week ago, just because everyone was saying it's easier to do things with recursions
cody j Green
@codyjgreen
Nov 13 2017 02:39
if i want to store the information from my allOrganizations array and keep the values that are imput into the dom there how would i go about it?
'use strict' ;
// Get the modal
var modal = document.getElementById('id01');

// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = 'none';
}
};
// debugger;
var allOrganizations = [];

if(allOrganizations.length > 0){
var newClicks = JSON.parse(localStorage.newClick);
}

this.name = name;
this.need = need;
this.list = [];
allOrganizations.push(this);
};

event.preventDefault();
console.log(event.target[0]);
var newName = event.target.name.value;
var newNeed = event.target.need.value;
// var newList = event.target.list.value;
// papa.innerHTML = ' ';
event.target.name.value = null;
event.target.need.value = null;
// event.target.list.value = null;
localStorage.newClick = JSON.stringify(allOrganizations);
createDiv();
}

function createDiv() {
var papa = document.getElementById('papa');

var div = document.createElement('div');
div.setAttribute('class', 'baby');

var pName = document.createElement('p');
pName.textContent = allOrganizations[0].name;
div.appendChild(pName);

var pNeed = document.createElement('p');
pNeed.textContent = allOrganizations[0].need;
div.appendChild(pNeed);

// for(var orgs = 0; orgs < allOrganizations.length; orgs++) {
papa.appendChild(div);
var storage = JSON.parse(localStorage.newClick);
}

// var addOrg = document.getElementById('button');//WILL FORM HAVE A CLASS VS ID?
// addOrganization();
cody j Green
@codyjgreen
Nov 13 2017 03:36

@ZhangXiaojiexiubong
Nov 13 2017 09:29
var myStr;
myStr = "\ \t \r \n";

var myStr;
myStr = "\ \t \r \n";
Henry
@GitHub-Henry
Nov 13 2017 09:30
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 10:56
gm everyone
Markus Kiili
@Masd925
Nov 13 2017 10:56
@tiagocorreiaalmeida Morning.
Stephen James
@sjames1958gm
Nov 13 2017 11:22
@tiagocorreiaalmeida :wave: :coffee:
Blauelf
@Blauelf
Nov 13 2017 11:26
:tea:
abraham anak agung
Nov 13 2017 11:28
:beer: good evening, why is this room is not as busy as 3/4 months ago?
Markus Kiili
@Masd925
Nov 13 2017 11:29
@padunk The Gitter link to these rooms was removed from the FCC page, I think.
abraham anak agung
Nov 13 2017 11:30
Ouch, that is too bad, why?
alpox
@alpox
Nov 13 2017 11:31
@tiagocorreiaalmeida :wave:
Markus Kiili
@Masd925
Nov 13 2017 11:31
@padunk Maybe they wan't people to use the forums and do the challenges and projects instead of chatting here all day.
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 11:32
@Masd925 :D
that's reasonable ahaa
abraham anak agung
Nov 13 2017 11:40
@Masd925 hahaha, makes sense :laughing:
Markus Kiili
@Masd925
Nov 13 2017 11:41
@padunk That is just a theory, pending confirmation :shipit:
Blauelf
@Blauelf
Nov 13 2017 11:42
I don't like forums. Seem like a bad copy of newsgroups.
Stephen James
@sjames1958gm
Nov 13 2017 11:48
Forums are searchable, maybe that is also a reason?
abraham anak agung
Nov 13 2017 11:52
I never check fcc forums,
Blauelf
@Blauelf
Nov 13 2017 12:00
@sjames1958gm Searchable? In theory, maybe. Finding the right search terms usually involves having most of the answer.
Also, Stack Overflow shows how valuable search and "related" are in an environment where a solution is usually outdated after two years.
alpox
@alpox
Nov 13 2017 12:01
@sjames1958gm as far as i remember from the discussion about this, one main reason was that the same questions appeared in the chat over and over while you could, as you say, search for it in the forum and most likely someone already had the same problem. I also heard them talk about that people tend to give more extended explanations due to how forums work. That said, i kind of still prefer the chat :D
Stephen James
@sjames1958gm
Nov 13 2017 12:03
@Blauelf I wasn't necessarily agreeing with the reason, just stating that that might be a reason.
The Socratic method doesn't work very well in the forums, either :)
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:15
const http = require("http");
const fs = require("fs");
const file = process.argv[3];
function fileGetter(){
}
const server = http.createServer((req, res)=>{
console.log("This server has been connected");
});
server.on('connect', (err, socket) => {
if(err) throw err;
socket.write(fileGetter());
});
server.listen(Number(process.argv[2]));
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 14:17
are you giving as arguments the port and the file?
in this case the file name
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:18
@tiagocorreiaalmeida giving it to what exactly?
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 14:18
plus on the server you need to res.end(); I think
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:18
shouldn't I listen on the port and then read the file from directory and pass it to the socket?
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 14:19
yeah but process.argv[2] is the first value you give when calling the node app argument
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:19
@tiagocorreiaalmeida even with res.end() or socket.end() iit still fails
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 14:19
server.listen(3000);
or 8000
localhost ports
I jumped the learnyournode :D
a print of the error would help
process.argv 0 1 aare the defautls 2 and further and the values you input as far as I know
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:21
I know that part :(
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 14:22
my question was when calling the app do you give the port as first argument then?
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:22
wait it looks like I fixed it. :)
i'm o verify the app hehehe
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 14:23
what was the issue?
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:23
omg I solved it. thanks for helping me think. :) @tiagocorreiaalmeida
CamperBot
@camperbot
Nov 13 2017 14:23
roniquericketts sends brownie points to @tiagocorreiaalmeida :sparkles: :thumbsup: :sparkles:
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 14:23
@tiagocorreiaalmeida I did a crazy thing and put both socket.end() and req.end() and pass my fileGetter() to both and it actually verify hehehe. hahahahahahahahaa
Its either a bug or I think I figure out what they were asking. :worried:
The data should be piped to the response not on the socket connection. The response should be the receiver of the data.
@tiagocorreiaalmeida thanks again for the help man. You did well.
CamperBot
@camperbot
Nov 13 2017 14:26
roniquericketts sends brownie points to @tiagocorreiaalmeida :sparkles: :thumbsup: :sparkles:
api offline
lion18
@lion18
Nov 13 2017 15:16
How can I use the link in 27th Line JS to add background image or icon to https://codepen.io/lion18/pen/yzrKQw
abraham anak agung
Nov 13 2017 15:24
@lion18 use jQuery attr method. \$('#yourID').attr("src", icon);
lion18
@lion18
Nov 13 2017 15:32
CamperBot
@camperbot
Nov 13 2017 15:32
lion18 sends brownie points to @padunk :sparkles: :thumbsup: :sparkles:
tundeiness
@tundeiness
Nov 13 2017 15:49
hi all any ideas on how to split multiple results from wikisearch into paragraphs in my html on the fly?. that is I want my html to know the amount of search result and then create that amount of paragraphs and then slot each results into their respective paragraphs in no particular order?
Markus Kiili
@Masd925
Nov 13 2017 15:53
@tundeiness Are you getting the results from an ajax call?
tundeiness
@tundeiness
Nov 13 2017 15:55
@Masd925 yes..
Markus Kiili
@Masd925
Nov 13 2017 15:55
@tundeiness You can loop the results from the response object and then generate new DOM content on each loop.
tundeiness
@tundeiness
Nov 13 2017 15:56
hopefully....just assuming I have the result beacuse I tested it in a sandbox @Masd925
@Masd925 any clear example code as to how?
Markus Kiili
@Masd925
Nov 13 2017 16:15
@tundeiness First try to get the result object and console.log it.
tundeiness
@tundeiness
Nov 13 2017 16:18
@Masd925 okay
Nazar
@IsaakNazar
Nov 13 2017 17:15
help ! how to fix that error?
var request = new XMLHttpRequest();
request.open('GET', 'https://en.wikipedia.org/w/api.php?action=opensearch&format=json&search=api');
console.log(request.responseText);
};
request.send();
Failed to load https://en.wikipedia.org/w/api.php?action=opensearch&format=json&search=api: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Kaz Baig
@kbaig
Nov 13 2017 17:21
Nazar
@IsaakNazar
Nov 13 2017 17:22
@kbaig ok thx
CamperBot
@camperbot
Nov 13 2017 17:22
isaaknazar sends brownie points to @kbaig :sparkles: :thumbsup: :sparkles:
Christopher McCormack
@cmccormack
Nov 13 2017 17:31
@IsaakNazar I believe you can add an &origin=* parameter to your url for cross site requests
Nazar
@IsaakNazar
Nov 13 2017 17:32
@cmccormack thx man, how do you know this?
CamperBot
@camperbot
Nov 13 2017 17:32
isaaknazar sends brownie points to @cmccormack :sparkles: :thumbsup: :sparkles:
:star2: 1270 | @cmccormack |http://www.freecodecamp.com/cmccormack
Kaz Baig
@kbaig
Nov 13 2017 17:33
@IsaakNazar It's in the wikipedia docs
Christopher McCormack
@cmccormack
Nov 13 2017 17:33
Unauthenticated CORS requests may be made from any origin by setting the "origin" request parameter to "*". In this case MediaWiki will include the Access-Control-Allow-Credentials: false header in the response and will process the request as if logged out (in case credentials are somehow sent anyway).
I feel it could have been more explicit in their docs but it's there
Nazar
@IsaakNazar
Nov 13 2017 17:37
@cmccormack :+1:
Kaz Baig
@kbaig
Nov 13 2017 17:37
Yeah I remember taking a long time to find that when I did the project
Jason Luboff
@JLuboff
Nov 13 2017 17:37
:wave:
Christopher McCormack
@cmccormack
Nov 13 2017 17:37
@JLuboff yo
Jason Luboff
@JLuboff
Nov 13 2017 17:37
Whats good
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 17:37
Sup nerds
Christopher McCormack
@cmccormack
Nov 13 2017 17:37
Demoed my bathroom this weekend, great fun
Jason Luboff
@JLuboff
Nov 13 2017 17:38
Sweet... doing a reno eh?
Christopher McCormack
@cmccormack
Nov 13 2017 17:39
Yeah - I have a manufactured home but in one of those neighborhoods where they all have foundation and stuff, but the cabinets and everything were so cheaply built so we're demoing one room at a time
Jason Luboff
@JLuboff
Nov 13 2017 17:44
@cmccormack Did you lie about being 55 or older? :P
Christopher McCormack
@cmccormack
Nov 13 2017 17:48
I have no idea what you mean :)
commercial or soemthing?
Jason Luboff
@JLuboff
Nov 13 2017 17:49
@cmccormack Most manufactured home communities here are 55 or older communities. It was a bad joke :P
Christopher McCormack
@cmccormack
Nov 13 2017 17:50
Weird
Jason Luboff
@JLuboff
Nov 13 2017 17:51
Ya.. my wife and I had looked at them before since they're a lot cheaper but eh.. only ones were we could live are not in areas we'd want to be
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 17:52
@cmccormack did you run the autoDemoed() to automate the work?
Christopher McCormack
@cmccormack
Nov 13 2017 17:52
No but I did enlist some service workers :)
Ronique Ricketts
@RoniqueRicketts
Nov 13 2017 17:53
@cmccormack lol good one.
Nazar
@IsaakNazar
Nov 13 2017 17:53
ok I solve the problem thx
console.log(theData[1]);
Christopher McCormack
@cmccormack
Nov 13 2017 18:07
Jason Luboff
@JLuboff
Nov 13 2017 18:08
@cmccormack Nah. Made good progress on Friday, but haven't worked on it since
Christopher McCormack
@cmccormack
Nov 13 2017 18:12
Have you tried out CSS grid? It's all the hotness lately and I thought you might find it interesting to use in your project if you haven't chosen your layout yet
Jason Luboff
@JLuboff
Nov 13 2017 18:12
@cmccormack I haven't. Using Masonry to deal with the pinterest style grid
Bryan Reese
@breese8009
Nov 13 2017 18:13
@cmccormack gotta react question for ya
Christopher McCormack
@cmccormack
Nov 13 2017 18:14
I think Masonry will look more like pinterest, from what I"ve read you can't quite do what pinterest does without JS
Bryan Reese
@breese8009
Nov 13 2017 18:14
its gonna involve a code wall so everyone be prepared lol
Christopher McCormack
@cmccormack
Nov 13 2017 18:14
@breese8009 can't share a github link? :)
Bryan Reese
@breese8009
Nov 13 2017 18:14
yea i can do that, lemme add an commit lol brb
Jason Luboff
@JLuboff
Nov 13 2017 18:14
@cmccormack Ya, masonry is pretty nice too
Bryan Reese
@breese8009
Nov 13 2017 18:17
shit i cant push with out pulling and i dont wanna pull
Christopher McCormack
@cmccormack
Nov 13 2017 18:17
that's not a good sign
Jason Luboff
@JLuboff
Nov 13 2017 18:18
@breese8009 Theres a flag you can use to still push
Christopher McCormack
@cmccormack
Nov 13 2017 18:18
but if he's out of sync you don't want to do that
unless the remote has nothing important in it
Bryan Reese
@breese8009
Nov 13 2017 18:18
what i have right now is what i want
i thought i already did this pull wtf?
Jason Luboff
@JLuboff
Nov 13 2017 18:18
git push -f will force a push
Bryan Reese
@breese8009
Nov 13 2017 18:19
and thats exactly what i did
we good
:)
thank u guys
@JLuboff @cmccormack ty
CamperBot
@camperbot
Nov 13 2017 18:19
breese8009 sends brownie points to @jluboff and @cmccormack :sparkles: :thumbsup: :sparkles:
:star2: 2259 | @jluboff |http://www.freecodecamp.com/jluboff
:star2: 1271 | @cmccormack |http://www.freecodecamp.com/cmccormack
Bryan Reese
@breese8009
Nov 13 2017 18:19
so its only filtering when its the first one
i cant see why
Christopher McCormack
@cmccormack
Nov 13 2017 18:20
tell me what you're trying to do
Bryan Reese
@breese8009
Nov 13 2017 18:21
@cmccormack its a data search
so when the user enters something to input, it filters by city
Christopher McCormack
@cmccormack
Nov 13 2017 18:21
so when they search, you get results, sorted by city, correct?
Bryan Reese
@breese8009
Nov 13 2017 18:21
yesir
ive done it exactly like this before an it worked
Christopher McCormack
@cmccormack
Nov 13 2017 18:22
so what do you mean by it's only filtering the first one
Bryan Reese
@breese8009
Nov 13 2017 18:24
so when i type into the input, it will always filter to have only the first one in the array
but if i type any other city names
it does the same
if that makes sense?
lemme get u a screen shot
Christopher McCormack
@cmccormack
Nov 13 2017 18:24
so is your search always supposed to be a city?
thanks
Bryan Reese
@breese8009
Nov 13 2017 18:24
yea always
Christopher McCormack
@cmccormack
Nov 13 2017 18:25
@breese8009 you need a linter :)
Jason Luboff
@JLuboff
Nov 13 2017 18:25
A lint remover? I got one at home
Bryan Reese
@breese8009
Nov 13 2017 18:26
Christopher McCormack
@cmccormack
Nov 13 2017 18:26
use eslint with the --fix flag it will format all your spacing nicely in your code
Bryan Reese
@breese8009
Nov 13 2017 18:26
then when i type into the search i get this
Christopher McCormack
@cmccormack
Nov 13 2017 18:26
@JLuboff harhar
Bryan Reese
@breese8009
Nov 13 2017 18:26
its filtering the wrong one
be right back gotta piss
Christopher McCormack
@cmccormack
Nov 13 2017 18:27
@breese8009 ah ok
Bryan Reese
@breese8009
Nov 13 2017 18:27
lol
Jason Luboff
@JLuboff
Nov 13 2017 18:27
@cmccormack I bet he's going to drop a duece. No one mentions having to take a leak. That takes a minute. Nah...he's going for the ol' Boss makes a dollar, I make a dime. Thats why I poop on company time
Christopher McCormack
@cmccormack
Nov 13 2017 18:28
haha
Bryan Reese
@breese8009
Nov 13 2017 18:30
@cmccormack its weird cause its console.logging everything correctly
but then not displaying it right
Christopher McCormack
@cmccormack
Nov 13 2017 18:31
this is redundant btw - onChange={event => this.updateSearch(event)}
just do onChange={this.updateSearch} otherwise you're creating a new function every change
Bryan Reese
@breese8009
Nov 13 2017 18:32
yea its sorta habit lol ur right tho
Christopher McCormack
@cmccormack
Nov 13 2017 18:33
so this shows the proper array entries? console.log(filteredLocations)?
Bryan Reese
@breese8009
Nov 13 2017 18:33
@cmccormack yep
Christopher McCormack
@cmccormack
Nov 13 2017 18:38
@breese8009 let me clone it real quick and see if I can track the issue
Bryan Reese
@breese8009
Nov 13 2017 18:38
@cmccormack thanks man
CamperBot
@camperbot
Nov 13 2017 18:38
breese8009 sends brownie points to @cmccormack :sparkles: :thumbsup: :sparkles:
api offline
Bryan Reese
@breese8009
Nov 13 2017 18:38
before u do that tho
lemme restart server lol
nope
same shit
:(
lol
Christopher McCormack
@cmccormack
Nov 13 2017 18:39
hmm you don't have react in your dependencies?
oh I see
Bryan Reese
@breese8009
Nov 13 2017 18:40
i do
Christopher McCormack
@cmccormack
Nov 13 2017 18:41
@breese8009 do yourself a favor - never log the actual object - stringify it first - JSON.stringify(object, null, 2)
Yeah I see it's in the subfolders
Jason Luboff
@JLuboff
Nov 13 2017 18:42
Holy fuck G-Metrix is awful. They won't accept my code (which is from a brand new book) and their fucking contact form doesn't work.
Christopher McCormack
@cmccormack
Nov 13 2017 18:42
@JLuboff what is it?
Bryan Reese
@breese8009
Nov 13 2017 18:43
@cmccormack how come u dont wanna log the object?
Jason Luboff
@JLuboff
Nov 13 2017 18:43
They provide practice tests @cmccormack
Christopher McCormack
@cmccormack
Nov 13 2017 18:43
@breese8009 because the logged object is a reference and if it changes your output will reflect those changes potentially
@breese8009 how do you run the server?
Bryan Reese
@breese8009
Nov 13 2017 18:47
cd into backend, run nodemon server.js
gotta npm install first ofc
Christopher McCormack
@cmccormack
Nov 13 2017 18:48
using a mac/linux?
Bryan Reese
@breese8009
Nov 13 2017 18:48
yea
u?
Christopher McCormack
@cmccormack
Nov 13 2017 18:48
apparently the bcrypt module isn't cross platform?
module.js:597
return process.dlopen(module, path._makeLong(filename));
^

Error: %1 is not a valid Win32 application.
Bryan Reese
@breese8009
Nov 13 2017 18:49
wtf
u can take out bcrypt
Christopher McCormack
@cmccormack
Nov 13 2017 18:49
too much work haha
can you log the stringified version of your objects and see if yous till have the issue first?
Bryan Reese
@breese8009
Nov 13 2017 18:49
yea sorry man, i donno why
yea 1 sec
wait, u want the filteredLocations arrays object to be stringified? maybe i dont understand fully? lol
Christopher McCormack
@cmccormack
Nov 13 2017 18:51
any object your logging, just do the stringify method I suggested above and confirm the data looks accurate in the console
just to make sure you're getting the actual values at that time
Angel J Piscola
@Redmega
Nov 13 2017 18:52
I avoid (most) cross platform issues by running on a vagrant box ;)
Bryan Reese
@breese8009
Nov 13 2017 18:53
yup its loggin correctly
oh wait
i think see why
fuck
Christopher McCormack
@cmccormack
Nov 13 2017 18:54
most of these modules should be cross platform but I could see why bcrypt may not be - when dealing with encryption it may depend on some system stuff to derive rng or whatever
@breese8009 why
@Redmega I think the only cross platform thing I ever run into when going back and forth between my mac and pc is that fsevents module or whatever
Bryan Reese
@breese8009
Nov 13 2017 18:56
well nvm....thought maybe cause im rendering in another component but that doesnt mater guess
matter
Christopher McCormack
@cmccormack
Nov 13 2017 18:58
@breese8009 my first thought here is maybe because you're using setState, which is asynchronous, you're getting the previous results, but this doesn't really make sense as setState should trigger the render.
  shouldComponentUpdate(nextProps, nextState){
return this.props === nextProps && this.state===nextState ? false : true
}
Bryan Reese
@breese8009
Nov 13 2017 19:00
@cmccormack put that where?
what is that doing?
where and what input am i passing?
Christopher McCormack
@cmccormack
Nov 13 2017 19:01
in your class, it's part of the react component lifecycle methods
Bryan Reese
@breese8009
Nov 13 2017 19:02
oh its a lifecycle method
i c
Bryan Reese
@breese8009
Nov 13 2017 19:08
@cmccormack where do i use this?
i have it in my class
Angel J Piscola
@Redmega
Nov 13 2017 19:08
@cmccormack 99% sure if props or state don't change it won't update, your code's just doing what React naturally does
Christopher McCormack
@cmccormack
Nov 13 2017 19:08
it's just a method on your class, pop it in somewhere between the render and the constructor
@Redmega I agree but I'm not sure what else the issue is right now
Angel J Piscola
@Redmega
Nov 13 2017 19:09
What exactly's going on? Is there a codepen?
Bryan Reese
@breese8009
Nov 13 2017 19:09
nope, isnt working :(
Christopher McCormack
@cmccormack
Nov 13 2017 19:09
his search doesn't appear to be working properly
Angel J Piscola
@Redmega
Nov 13 2017 19:10
Just a note, onChange={event => this.updateSearch(event)} can just be onChange={this.updateSearch}
Christopher McCormack
@cmccormack
Nov 13 2017 19:10
@Redmega yup told him already :)
Angel J Piscola
@Redmega
Nov 13 2017 19:10
Hmm
Bryan Reese
@breese8009
Nov 13 2017 19:10
@Redmega yea @cmccormack brought that up lol ty
CamperBot
@camperbot
Nov 13 2017 19:10
breese8009 sends brownie points to @redmega and @cmccormack :sparkles: :thumbsup: :sparkles:
api offline
Bryan Reese
@breese8009
Nov 13 2017 19:10
@Redmega its console.logging everything correctly
Bryan Reese
@breese8009
Nov 13 2017 19:11
@cmccormack ty
CamperBot
@camperbot
Nov 13 2017 19:11
api offline
breese8009 sends brownie points to @cmccormack :sparkles: :thumbsup: :sparkles:
Angel J Piscola
@Redmega
Nov 13 2017 19:11
hmm
filteredLocations is right?
Bryan Reese
@breese8009
Nov 13 2017 19:12
it is
Angel J Piscola
@Redmega
Nov 13 2017 19:12
Ah its that array
Bryan Reese
@breese8009
Nov 13 2017 19:12
thats whats being console.logged in that screen shot
yesir
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:13
@JLuboff around?
and hello everyone :wave:
Bryan Reese
@breese8009
Nov 13 2017 19:13
@tiagocorreiaalmeida he was a bit ago
Angel J Piscola
@Redmega
Nov 13 2017 19:13
I'd have to check it out locally, don't have time for that at the moment. After work I'll let you know if I find anything (if it's not solved by then)
Jason Luboff
@JLuboff
Nov 13 2017 19:13
@tiagocorreiaalmeida You spin my head right round right round?
Christopher McCormack
@cmccormack
Nov 13 2017 19:13
@tiagocorreiaalmeida yo
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:14
whn you go down when you go down down
Jason Luboff
@JLuboff
Nov 13 2017 19:14
Oh wait.. I should have read the rest of those lyrics.
:(
Kristina
@kikidesignnet
Nov 13 2017 19:14
Is there any developer that I can talk to privately about my JS Calculator?
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:15
anyway :D im having some issues that is not a normal behavior I would say
app.use(express.static(__dirname+"/public"));
Jason Luboff
@JLuboff
Nov 13 2017 19:15
Alright
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:15
app.use(express.static(__dirname+"/public"));
app.use("/user",user);
const express = require("express");
const router = express.Router();

const auth = require("../middleware/authenticated");

router.get("/profile",auth,(req,res)=>{
res.render("user");
});

router.get("/requests",,auth,(req,res)=>{
res.render("requests");
});

router.get("/books",auth,(req,res)=>{
res.render("mybooks");
});

module.exports = router;
Christopher McCormack
@cmccormack
Nov 13 2017 19:15
@tiagocorreiaalmeida using express before you require it?
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:16
its required :D just showing the parts that are the issues in my point of view
Christopher McCormack
@cmccormack
Nov 13 2017 19:16
ok but your static server is above the require
Angel J Piscola
@Redmega
Nov 13 2017 19:16
Think its two separate snippets
Christopher McCormack
@cmccormack
Nov 13 2017 19:16
possibly
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:16
yeah my bad for not pointing it
Christopher McCormack
@cmccormack
Nov 13 2017 19:17
are you using an older version? I thought const router = express.Router(); this was no longer necessary
Kristina
@kikidesignnet
Nov 13 2017 19:17
Is there any one that I can talk to privately about my JS Calculator?
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:18
I use this so I can handle a specific path in another page and I link it in the main so all the user/something will be handle by it
I dont know if is there any new way of doing this tough
Jason Luboff
@JLuboff
Nov 13 2017 19:19

@tiagocorreiaalmeida I use app.route

  app.route('/usersPosts/:id').get(isLogged, (req, res) => {
db.collection('posts').find({'post.user': Number(req.params.id)}).toArray((err, data) => {
if(err) throw err;
res.render('userspost.hbs', {loggedIn: true, data})
})
})

For example

Max Voronov
@maxv
Nov 13 2017 19:19
@kikidesignnet Maybe I can help
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:20
yeah but that's not the issue cause I worked that way in the past and it does all well the issue is that the public fields are not working on those routes somehow?
Jason Luboff
@JLuboff
Nov 13 2017 19:20
@tiagocorreiaalmeida What do you see in your console?
Christopher McCormack
@cmccormack
Nov 13 2017 19:20
@tiagocorreiaalmeida what are your referenced url's?
Kristina
@kikidesignnet
Nov 13 2017 19:20
@maxv Great! How do I start a private chat with you?
Jason Luboff
@JLuboff
Nov 13 2017 19:21
@kikidesignnet Click on the persons image and theres an option to chat privately
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:21
Christopher McCormack
@cmccormack
Nov 13 2017 19:21
@tiagocorreiaalmeida without adding a string as the first parameter I believe your static server will source from the root directory
Bryan Reese
@breese8009
Nov 13 2017 19:21
the convo in the main chat is outta control lol
wtf
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:21
Jason Luboff
@JLuboff
Nov 13 2017 19:21
@breese8009 You still go to main chat? I've never been able to stand it
Bryan Reese
@breese8009
Nov 13 2017 19:22
@JLuboff yea and right now its gross
and wrong
Jason Luboff
@JLuboff
Nov 13 2017 19:22
@tiagocorreiaalmeida Your path should be /public/js/popper.js shouldn't it?
@breese8009 Whats happening in there?
Christopher McCormack
@cmccormack
Nov 13 2017 19:22
no public will resolve to root
unless you pass a string parameter like app.use('/public', express.static(__dirname+"/public")); or something like that
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:23
something like that I would say, in the main root it shwos the same way but still runs those files
@cmccormack dont think so, as far as I know you only call express.static and pass in the path
I tried the above it loses the location to the files
Jason Luboff
@JLuboff
Nov 13 2017 19:24

@cmccormack his static route doesn't point to the js folder. He needs to tell it to otherwise he has to use public..? For example.. to setup my js folder, I had

    app.use(
'/js',
express.static(__dirname + '/node_modules/bootstrap/dist/js')
);

then my route on my client page is

<script src="/js/bootstrap.min.js"></script>
Christopher McCormack
@cmccormack
Nov 13 2017 19:24
@tiagocorreiaalmeida don't think so about what? I think your config looks right
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:25
normally I just have to set the public and it works from there
I might be confused but I got a project that worked that way
Christopher McCormack
@cmccormack
Nov 13 2017 19:25
I'm assuming @tiagocorreiaalmeida is using /public/js/popper.js, sorry, I thought you meant his src should also have public in it
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:25
yeah that's it
Christopher McCormack
@cmccormack
Nov 13 2017 19:26
@JLuboff yeah that would work if the file was '/node_modules/bootstrap/dist/js/bootstrap.min.js'
@JLuboff but if you didn't have that first argument you can just use <script src="bootstrap.min.js"></script> I believe
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:27
you can set the folder and then you just have to like from there below
"Public"
then /js
or others as far as I know
Christopher McCormack
@cmccormack
Nov 13 2017 19:27
@tiagocorreiaalmeida so what isn't working for you?
Jason Luboff
@JLuboff
Nov 13 2017 19:28
Eh I always get confused with static directory. Half the time it doesn't work for me either haha
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:28
main root works
then when I change to user/something
this happens
the files I linked bellow and all the contnet is there so its not related to the hbs partials
are*
Jason Luboff
@JLuboff
Nov 13 2017 19:28
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:29
Christopher McCormack
@cmccormack
Nov 13 2017 19:33
@tiagocorreiaalmeida try removing the initial / in your html src=
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:34
that wasnt the issue was the oposite spoted now didnt even looked into it my bad
the js files are well linked
the css files were missing the /
before their paths
thanks @cmccormack and @JLuboff
CamperBot
@camperbot
Nov 13 2017 19:35
tiagocorreiaalmeida sends brownie points to @cmccormack and @jluboff :sparkles: :thumbsup: :sparkles:
:star2: 1272 | @cmccormack |http://www.freecodecamp.com/cmccormack
:star2: 2260 | @jluboff |http://www.freecodecamp.com/jluboff
Jason Luboff
@JLuboff
Nov 13 2017 19:35
:+1:
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:35
somehow we always forget the smaller things
Christopher McCormack
@cmccormack
Nov 13 2017 19:35
@tiagocorreiaalmeida well you probably won't forget a second time :)
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:36
that's probably right ahaha, any of you know some advanced sql book/course or something else to read?
Jason Luboff
@JLuboff
Nov 13 2017 19:37
I know basic SQL. Lol
But I'll be learning medium/advanced starting around the beginning of the year
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:38
same here and used mysql in the past but trying to learn more, going for some course or by yourself?
Jason Luboff
@JLuboff
Nov 13 2017 19:39
It'll be by myself, but using the Microsoft Official books
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:40
guess will have to get a look at it aswell when I finish the backend part, dont know who talked about materialize somedays ago but it looks fancy compared to bs
Jason Luboff
@JLuboff
Nov 13 2017 19:40
Probably @cmccormack
Jason Luboff
@JLuboff
Nov 13 2017 19:45
Welp. Almost done with pinterest clone. Just need to finish the post like portion. This project was a lot simpler then the trading app
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:46
@JLuboff congrats :D im trying to finish this one in this or next week, this one compared to the ones before its a 3x longer/harder I would say
Christopher McCormack
@cmccormack
Nov 13 2017 19:46
yeah I use materialize-css - it's very nice and easy to use
Jason Luboff
@JLuboff
Nov 13 2017 19:47
@tiagocorreiaalmeida Yup. Trading app took me 2-3 times longer then the prior projects. Wasn't so much difficult as it was tedious. A lot of routes and pages in comparison to the others
And queries
Had to come up with some interesting aggregates
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:48
my only objective here is have this done before the project of mongodb, how would you rate it in difficulty compared to the ones we have been doing?
Christopher McCormack
@cmccormack
Nov 13 2017 19:48
@tiagocorreiaalmeida https://codepen.io/cmccormack/pen/dVGZBx an example I made one night testing out components
Jason Luboff
@JLuboff
Nov 13 2017 19:49
@tiagocorreiaalmeida They provide you with the project already pre-built, but you need to make the proper queries/indexes/etc step by step for it. It wasn't the easiest at the time. I'd probably fair better now
Stephen James
@sjames1958gm
Nov 13 2017 19:52
@cmccormack :+1:
Christopher McCormack
@cmccormack
Nov 13 2017 19:52
@sjames1958gm :) hiya
Stephen James
@sjames1958gm
Nov 13 2017 19:53
Hey, been lurking
Christopher McCormack
@cmccormack
Nov 13 2017 19:53
@sjames1958gm I always assume you're somewhere out there, watching, waiting...
Jason Luboff
@JLuboff
Nov 13 2017 19:53
@sjames1958gm We're all always lurking
Stephen James
@sjames1958gm
Nov 13 2017 19:53
:eyes:
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 19:54
yeah I took a look at it today looks really fancy and the flat style looks quite good @cmccormack that's like a basic template right?
Christopher McCormack
@cmccormack
Nov 13 2017 19:55
@tiagocorreiaalmeida You could use it as that if you wanted, sure. I put that together myself though
Stephen James
@sjames1958gm
Nov 13 2017 19:55
Fixing bugs in my Python script I wrote for the deployment team.
Christopher McCormack
@cmccormack
Nov 13 2017 19:56
@sjames1958gm What does your team use python for if you don't mind me asking?
devops?
Stephen James
@sjames1958gm
Nov 13 2017 19:56
@cmccormack Yeah. Working with AWS - the existing tools are python -
Christopher McCormack
@cmccormack
Nov 13 2017 19:57
oh that's great
AWS has some pretty amazing tools
Stephen James
@sjames1958gm
Nov 13 2017 19:58
I am just waiting for AWS to become aware. (Terminator reference)
Christopher McCormack
@cmccormack
Nov 13 2017 19:58
haha probably not long. I'm pretty sure Jeff Bezos is already a cyborg
Stephen James
@sjames1958gm
Nov 13 2017 19:59
Christopher McCormack
@cmccormack
Nov 13 2017 20:00
No kidding. And here I am like an idiot with an Echo in my living room listening to everything :D
Stephen James
@sjames1958gm
Nov 13 2017 20:01
lol
Marius Nicolae
@bytao7mao
Nov 13 2017 20:07
Hello, someone can help me with understanding some request ?
Christopher McCormack
@cmccormack
Nov 13 2017 20:07
Marius Nicolae
@bytao7mao
Nov 13 2017 20:07

@bytao7mao
I have the following :

"Create a view consisting of a list of battles. The list should be:
-filterable by attacker and /or defender country;
-searchable by country (eg. I search for italy, the list should display only battle with italy as defender or attacker)
UI/UX bonus points!
API: www.
I have a json file and from what i understand i have to make some API calls ?

Christopher McCormack
@cmccormack
Nov 13 2017 20:08
What technology are you supposed to utilize? Just JS?
Marius Nicolae
@bytao7mao
Nov 13 2017 20:11
yeah
js and a i have an api url that have json
Christopher McCormack
@cmccormack
Nov 13 2017 20:12
ok then yes you would need to make the api call - have you done that before?
Marius Nicolae
@bytao7mao
Nov 13 2017 20:12
from what i understand i have to create some searchbox that will return the country of the defender or attacker ?
Christopher McCormack
@cmccormack
Nov 13 2017 20:13
Sounds like it
well sounds like it would return a battle
Marius Nicolae
@bytao7mao
Nov 13 2017 20:13
i have made but 2 times long ago, i know that i have to concatanate the url + id or somth like that ?
Christopher McCormack
@cmccormack
Nov 13 2017 20:14
There are different ways to do it - but you can certainly include the url + parameters + query options all in one string
@bytao7mao do you have an idea of what tool you will use to fetch the data from the url?
jquery/fetch/axios/XMLHttpRequest/etc..?
Marius Nicolae
@bytao7mao
Nov 13 2017 20:17
no :| , can you throw me some tips ?
Christopher McCormack
@cmccormack
Nov 13 2017 20:17
@bytao7mao are you doing this as part of some course? FCC has examples of how to do API calls using jQuery
Marius Nicolae
@bytao7mao
Nov 13 2017 20:18
oh, didn't knew that
Christopher McCormack
@cmccormack
Nov 13 2017 20:18
Try that out and then maybe read the documentation on getJSON and try to get a good handle on how it works - http://api.jquery.com/jquery.getjson/
Marius Nicolae
@bytao7mao
Nov 13 2017 20:19
@cmccormack thanks mate
CamperBot
@camperbot
Nov 13 2017 20:19
bytao7mao sends brownie points to @cmccormack :sparkles: :thumbsup: :sparkles:
:star2: 1273 | @cmccormack |http://www.freecodecamp.com/cmccormack
Christopher McCormack
@cmccormack
Nov 13 2017 20:19
@bytao7mao there's a bit of a learning curve, so try to dig in and read up on all the terms that get tossed at you
np
Marius Nicolae
@bytao7mao
Nov 13 2017 20:20
seems like i finished it on fcc, but i'll repeat it to refresh my brain :))
Christopher McCormack
@cmccormack
Nov 13 2017 20:22
@bytao7mao great idea :) Play around with it a lot and try to get a good understanding of the structure of the URL, the options, Promise responses, etc...
Marius Nicolae
@bytao7mao
Nov 13 2017 20:23
sure :)
Christopher McCormack
@cmccormack
Nov 13 2017 20:23
@bytao7mao Also want to read up on CORS - https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
You will probably run into issues trying to use some APIs because the server does not permit requests from a different URL. There are ways around it but you need to know that this problem exists and it adds more complication
Marius Nicolae
@bytao7mao
Nov 13 2017 20:24
Another question, do you know what version of jquery and bootstrap are they using in the example ?
Christopher McCormack
@cmccormack
Nov 13 2017 20:24
Most likely bootstrap 3.x
Marius Nicolae
@bytao7mao
Nov 13 2017 20:25
Because it doesn't work in codepen, with bootstrap 3 and jquery
Christopher McCormack
@cmccormack
Nov 13 2017 20:26
looks like possibly jQuery 2.1.4 but not 100%
because that file is not hosted on codepen
you can host that file yourself somewhere if you like then point to it. If you haven't already, you can setup a github.com account and create a gist json file with some data in it, then use rawgit.com with that gist url to get a working json file that should allow cross-origin requests
Marius Nicolae
@bytao7mao
Nov 13 2017 20:28
oh yeah, i forgot about the file
:)))
didn't payed attention
Christopher McCormack
@cmccormack
Nov 13 2017 20:32
Here you can try this one - https://cdn.rawgit.com/cmccormack/e08e90a65a11d0dfcca71c4eadf9243c/raw/0d8272af7bb10e74c202ebc3cc50122de93cfafc/cats.json
Bryan Reese
@breese8009
Nov 13 2017 20:33

@CodeDraken beat me in codefights :(

Christopher McCormack
@cmccormack
Nov 13 2017 20:34
@breese8009 stop yelling at us!
Bryan Reese
@breese8009
Nov 13 2017 20:34
@cmccormack lol i lost a bet so i had to post that in every room
Christopher McCormack
@cmccormack
Nov 13 2017 20:34
hehe
Bryan Reese
@breese8009
Nov 13 2017 20:35
@CodeDraken is cheater.... 20 seconds...pffff... cant even read that that challenge wanted in 20 seconds
lmao
jk
Christopher McCormack
@cmccormack
Nov 13 2017 20:35
that's pretty fast
that CodeDraken must be a smart cookie
Marius Nicolae
@bytao7mao
Nov 13 2017 20:43
@cmccormack thx again
CamperBot
@camperbot
Nov 13 2017 20:43
bytao7mao sends brownie points to @cmccormack :sparkles: :thumbsup: :sparkles:
api offline
Christopher McCormack
@cmccormack
Nov 13 2017 20:45
@bytao7mao np!
Connor
@cresharper
Nov 13 2017 21:10
Can I post a JS question that's not related to the class? Need a second set of eyes to look at something
Jason Luboff
@JLuboff
Nov 13 2017 21:10
Go for it
Connor
@cresharper
Nov 13 2017 21:11
Alright...it's kind of long and convoluted so I'm gonna post the link to the question I posted in stack overflow:https://stackoverflow.com/questions/47270606/removeclass-is-completely-deleting-elements-from-dom
Connor
@cresharper
Nov 13 2017 21:23
I made a new question that describes the issue better:
Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 21:42
folks, which is easiest way to run the async functions as serie like when current is done then run next?
Christopher McCormack
@cmccormack
Nov 13 2017 21:44
@paulcarroty are you using async/await?
@paulcarroty or Promises?
Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 21:45
@cmccormack async/await
Christopher McCormack
@cmccormack
Nov 13 2017 21:45
an async function will wait for each await in sequence

@paulcarroty

An async function can contain an await expression, that pauses the execution of the async function and waits for the passed Promise's resolution, and then resumes the async function's execution and returns the resolved value.

Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 21:46
@cmccormack not exactly. will wait, but run the all first.
Christopher McCormack
@cmccormack
Nov 13 2017 21:47
You didn't specify you were using all
and you didn't describe how you were using it
Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 21:49
@cmccormack I have an array of links, URLSfor example. Then use the
for (link of URLS){
}
and it eats fully my CPU :fire:
Christopher McCormack
@cmccormack
Nov 13 2017 21:51
Shouldn't - show your async function
Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 21:52
Christopher McCormack
@cmccormack
Nov 13 2017 21:56
There may be some awaits in there you don't need to be in sequence I bet - but you can output a timestamp and some info to see what's slowing you down so much
Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 22:02
@cmccormack I see 15 instances of PhantomJS just after start. So, it works, right, but works like waterfall, not as the series.
Christopher McCormack
@cmccormack
Nov 13 2017 22:05
So you want each call to the async function to be in sequence? Put that in an async function and add await my_async_function(link); in your loop maybe?
Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 22:25
@cmccormack man, you are my hero!
Christopher McCormack
@cmccormack
Nov 13 2017 22:25
@paulcarroty that actually worked? Awesome!
Ghost
@ghost~56ec5e3985d51f252ab99021
Nov 13 2017 22:28
@cmccormack yep! BIG thank you!
CamperBot
@camperbot
Nov 13 2017 22:28
paulcarroty sends brownie points to @cmccormack :sparkles: :thumbsup: :sparkles:
:star2: 1274 | @cmccormack |http://www.freecodecamp.com/cmccormack
Christopher McCormack
@cmccormack
Nov 13 2017 22:28
@paulcarroty no problem, glad you got it working
Jason Luboff
@JLuboff
Nov 13 2017 22:36
Arghhh.. I hate when things don't work
Bryan Reese
@breese8009
Nov 13 2017 23:09
alright im back to trying to solve that problem lmao
i had to step away from it
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 23:16
anyone around had to force all the bs cols to have same height?
Jason Luboff
@JLuboff
Nov 13 2017 23:21
@tiagocorreiaalmeida You want them to have the same fixed height?
AbrisM
@AbrisM
Nov 13 2017 23:36
Hi all need some help on html and javascript.
https://codepen.io/StudentUser/pen/vWZWLg how do I get the color options from the first page to display as background on a new window?
Tiago Correia
@tiagocorreiaalmeida
Nov 13 2017 23:39
depending on the biggest element inside that row yeah something liek that
AbrisM
@AbrisM
Nov 13 2017 23:41
https://codepen.io/StudentUser/pen/vWZWLg i've changed the window size so now it should display more properly but I'm still not sure how to have the radio buttons selection to display as background colors on a new window