These are chat archives for FreeCodeCamp/Help

4th
Jan 2019
Nicolas Ramirez
@kamatheuska
Jan 04 10:29
Hi there I have a tiny dilema...I want to show in my portafolio different projects made both with Vue and React. How do you recommend me to do that?
Anand Potukuchi
@anandpotukchi
Jan 04 11:55
this is my layout handlabars fle
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Todo App</title>
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
    <link rel="stylesheet" href="/public/stylesheets/style.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>
<body>
<div class="container">
    {{{body}}}
</div>
</body>
</html>
can't get boostrap modal to work
i've imc;uded bootstrap js and jquery
Anand Potukuchi
@anandpotukchi
Jan 04 12:00
@psyperl
any idea
@ezioda004
Warh0rn
@Warh0rn
Jan 04 12:03
Did you guys push through the course to get to the projects or go back over the chapters and redo them until you had them somewhat memorize. I feel like I understand everything but my retention/memorizing is low.
Anand Potukuchi
@anandpotukchi
Jan 04 12:10
@Warh0rn don't worry. it's the same with me
im juggling boh front-end and back-end projects right now
when i get stucki do the other
and read the docs
psyperl
@psyperl
Jan 04 12:13
some people have good memory retention and some are don't .. but yeah in general.. we always use reference to remind us.. can't remember all the syntax even after few weeks break sometimes.. unless is your current/active project. so knowing where to look for the documentation is a must and what we all trying to hold.. in case for javascript you remember you would go to mdn for example for reference. thus the ability to undertand and familiar with docs / documentation is crucial for coders
some also safe their codes in snippet and manage them for reference for later date. i am not a snippet person though I do very small of it, i often write a new code for the same problem differently everytime as my coding style improved.
Ene Catalin
@EneCatalin
Jan 04 12:18
snippets are a god send
Anand Potukuchi
@anandpotukchi
Jan 04 12:26
@psyperl can you olease help me with my problem above`
psyperl
@psyperl
Jan 04 12:27
i don't use bootstrap and jquery often @anandpotukchi .. what's the the problem in your code?
Anand Potukuchi
@anandpotukchi
Jan 04 12:28
im unable to open a modal in express
what do you use
psyperl
@psyperl
Jan 04 12:28
since you are regular here you should have known that I am more to vanilla codes :D
Ene Catalin
@EneCatalin
Jan 04 12:29
as another regular I thought you were just a php expert :\
psyperl
@psyperl
Jan 04 12:30
lol i can do some php backend .. nowhere near expert though :D
php expert is Jody's title, not mine lol
Anand Potukuchi
@anandpotukchi
Jan 04 12:32
@psyperl i just came back after a 2 months break. dont remember
anyway what's your specialty
psyperl
@psyperl
Jan 04 12:33
for the past 10 years? obj-c then followed by Swift.. i am a Mac dev
Anand Potukuchi
@anandpotukchi
Jan 04 12:33
oh great
the @ezioda004 and @cmccormack are the ones who can help me
neither of them seems to be online ATM
psyperl
@psyperl
Jan 04 12:35
yes they helped me lots too
Anand Potukuchi
@anandpotukchi
Jan 04 12:35
where are you from BTW?
psyperl
@psyperl
Jan 04 12:35
Jakarta, Indonesia
Anand Potukuchi
@anandpotukchi
Jan 04 12:36
hmm
nice
psyperl
@psyperl
Jan 04 12:36
lol
hmm thanks :D
Anand Potukuchi
@anandpotukchi
Jan 04 12:36
what - Bali'sa great destiantion
for a holiday
psyperl
@psyperl
Jan 04 12:37
haven't been there for a while but yeah their famous leisure destination
Anand Potukuchi
@anandpotukchi
Jan 04 12:37
and i ind indonesian girls pretty
lol
(just searched)
psyperl
@psyperl
Jan 04 12:38
lol .. lovely girls can come from anywhere
Anand Potukuchi
@anandpotukchi
Jan 04 12:38
true
psyperl
@psyperl
Jan 04 12:38
let me try launching codepen and see if i can learn something from your problem while waiting for other folks to solve it
Anand Potukuchi
@anandpotukchi
Jan 04 12:39
ooops
my code is oin local
Anand Potukuchi
@anandpotukchi
Jan 04 12:39
and is a n express app
yes -the very same
psyperl
@psyperl
Jan 04 12:40
does it throws any errors on console possibly you can check the error message of what's going wrong?
Anand Potukuchi
@anandpotukchi
Jan 04 12:40
nah
it's just .. not working
let me try importing it to glitch
tehn you can chek it out
psyperl
@psyperl
Jan 04 12:41
ah that would be cool so i can see
Philip Durbin
@pdurbin
Jan 04 12:41
I was in Jakarta (and Bandung) in May. Great trip.
psyperl
@psyperl
Jan 04 12:41
Bandung is a rainy town
Anand Potukuchi
@anandpotukchi
Jan 04 12:42
@pdurbin man i see you're always online
but this is probably the first i've seen you type something
lol
Philip Durbin
@pdurbin
Jan 04 12:42
It did rain a tiny bit. Much cooler than Jakarta. I guess I'm always shown as online because I use the Gitter IRC gateway? I'm not sure. :)
Anand Potukuchi
@anandpotukchi
Jan 04 12:43
oh.. that explains it
psyperl
@psyperl
Jan 04 12:43
much cooler indeed.. and yeah i do prefer Bandung than Jakarta when it comes to weather
psyperl
@psyperl
Jan 04 12:47
lol nice pictures @pdurbin :thumbsup:
Philip Durbin
@pdurbin
Jan 04 12:48
thanks :)
psyperl
@psyperl
Jan 04 12:48
and first time i heard about dataverse
and for some reason when i check on a website.. always one of the thing i click first is the API Guide lol ..
Philip Durbin
@pdurbin
Jan 04 12:50
For Dataverse we use IRC (freenode) instead of Gitter. :)
psyperl
@psyperl
Jan 04 12:50
didn't know freenode still online
yeah I can see how IRC can still be effective method for devs
no dataverse for iOS? :p
Philip Durbin
@pdurbin
Jan 04 12:52
yeah
nope. want to create an iOS app for us? :)
psyperl
@psyperl
Jan 04 12:54
hehehe that's a tempting offer
i am always often dealing with generating API.. still learning how to do it better though
I can at least mark the repo for now @pdurbin who knows I might have chance to contribute in the future
Anand Potukuchi
@anandpotukchi
Jan 04 13:03
psyperl
@psyperl
Jan 04 13:04
ok let's transfer it to glitch :D
i remember seeing something to fork glitch from github
o wow did you push all the node_modules directory to the git repo @anandpotukchi ? :D
Anand Potukuchi
@anandpotukchi
Jan 04 13:08
i just pushed the entire folder
psyperl
@psyperl
Jan 04 13:09
should i just copy the code to glitch then? or are you importing it to glitch atm?
Anand Potukuchi
@anandpotukchi
Jan 04 13:10
it's not happening
try copying
psyperl
@psyperl
Jan 04 13:10
ok
Anand Potukuchi
@anandpotukchi
Jan 04 13:10
not sure it works
psyperl
@psyperl
Jan 04 13:11
what is .hbs ?
~/views/index.hbs
Anand Potukuchi
@anandpotukchi
Jan 04 13:13
handlebars file
psyperl
@psyperl
Jan 04 13:13
ok
psyperl
@psyperl
Jan 04 13:21
@anandpotukchi no script start on package description?
Anand Potukuchi
@anandpotukchi
Jan 04 13:22
nah
node server.js
psyperl
@psyperl
Jan 04 13:23
it works when adding node server start?
ok now is running.. then the problem is the "Launch Demo Modal" button ?
Anand Potukuchi
@anandpotukchi
Jan 04 13:25
@psyperl its it working
psyperl
@psyperl
Jan 04 13:26
well the page is running .. but nothing happen when i click the 'launch demo modal' button
i assume that's the problem you are trying to solve
Anand Potukuchi
@anandpotukchi
Jan 04 13:28
yes -)
psyperl
@psyperl
Jan 04 13:37
it works
!
Anand Potukuchi
@anandpotukchi
Jan 04 13:37
yes!!!!
what was the error
psyperl
@psyperl
Jan 04 13:37
i don't know.. but i replaced your modal with new copy from https://getbootstrap.com/docs/4.0/components/modal/
Anand Potukuchi
@anandpotukchi
Jan 04 13:38
hmm
psyperl
@psyperl
Jan 04 13:38
:smile:
Anand Potukuchi
@anandpotukchi
Jan 04 13:38
funny
i just did the same
psyperl
@psyperl
Jan 04 13:38
hehe
anyway my head hurts.. are you good now?
Anand Potukuchi
@anandpotukchi
Jan 04 13:38
yer a wizard Harry
psyperl
@psyperl
Jan 04 13:39
:smile:
if the other folks solving it probably take like 5 seconds lol
Philip Durbin
@pdurbin
Jan 04 14:05
@psyperl cool. Thanks.
ScripTech
@ScripTech
Jan 04 14:27
Hello
Kaz Baig
@kbaig
Jan 04 14:29
@ScripTech How do you do
ScripTech
@ScripTech
Jan 04 14:31
Doing well thanks... what about you?
Kaz Baig
@kbaig
Jan 04 14:31
Just wrote my first gulpfile so pretty good :smile:
ScripTech
@ScripTech
Jan 04 14:32
@kbaig Me too :smile:
ScripTech
@ScripTech
Jan 04 14:44
@kbaig just joke...
whay gulpjs is???
Kaz Baig
@kbaig
Jan 04 14:54
@ScripTech A taskrunner
I'm using it to compile my pug and sass files
May Kittens Devour Your Soul
@diomed
Jan 04 14:57
@kbaig does it shrink?
Kaz Baig
@kbaig
Jan 04 14:58
@diomed shrink what now
May Kittens Devour Your Soul
@diomed
Jan 04 14:58
css files
when there's not needed css that much
Kaz Baig
@kbaig
Jan 04 14:59
probs
wangxij
@1wangxin
Jan 04 14:59
谁能告诉我这个房间怎么静音啊
Kaz Baig
@kbaig
Jan 04 14:59
using a plugin
May Kittens Devour Your Soul
@diomed
Jan 04 15:00
like lint I think I meant lint
Kaz Baig
@kbaig
Jan 04 15:01
You can use it for linting if you like
Anand Potukuchi
@anandpotukchi
Jan 04 17:49
@kbaig by the way, @diomed is a :cat:
I've never used gulp
So obsessed with react and express
Wow messages sent in reverse order
That's weird