These are chat archives for FreeCodeCamp/Help

7th
Jun 2018
EFMB95
@EFMB95
Jun 07 2018 00:14
White Blank Screen issue on a Mac
Henry
@GitHub-Henry
Jun 07 2018 01:05
I made a react app via create-react-app, then did eslint --init, and specified I was using react. Even so, I get an unexpected token error. The app works fine, but does anyone know how to get rid of this error?
Kyle Holm
@thekholm80
Jun 07 2018 01:17
@GitHub-Henry are you using react & jsx plugins?
i've been using airbnb config, which requires eslint-plugin-jsx-a11y and eslint-plugin-react
Henry
@GitHub-Henry
Jun 07 2018 01:18
yes
i also use airbnb
Kyle Holm
@thekholm80
Jun 07 2018 01:20
what does your .eslintrc look like?
Smootimus
@Smootimus
Jun 07 2018 01:21
Finished up at class, finally home and layin' down shooo
Kyle Holm
@thekholm80
Jun 07 2018 01:21
dreaming those arduino dreams?
Kyle Holm
@thekholm80
Jun 07 2018 01:25
do you have the extends: airbnb?
specifically,
{
  "extends": "airbnb",
  "rules": {
    ...
  }
}
Kyle Holm
@thekholm80
Jun 07 2018 01:29
weird
Henry
@GitHub-Henry
Jun 07 2018 01:29
the light bulb is a suggestion to use import/export syntax
Kyle Holm
@thekholm80
Jun 07 2018 01:29
i remember having this problem when i first started using eslint, but i can't remember what i did to fix it
Henry
@GitHub-Henry
Jun 07 2018 01:31
i guess it's time to search google, and stackoverflow
Kyle Holm
@thekholm80
Jun 07 2018 01:32
best of luck, it's hell out there
Henry
@GitHub-Henry
Jun 07 2018 01:32
:shipit: :dizzy:
Henry
@GitHub-Henry
Jun 07 2018 01:40
@thekholm80 yannickcr/eslint-plugin-react#447 first google result fixed the problem
Kyle Holm
@thekholm80
Jun 07 2018 01:41
@GitHub-Henry i looked at that, but i didn't have to go through any of that to get it working for myself
Henry
@GitHub-Henry
Jun 07 2018 01:43
The only difference is that I installed locally instead of globally as suggested, but the solution was still valid
Kyle Holm
@thekholm80
Jun 07 2018 01:43
i don't install anything globally
Henry
@GitHub-Henry
Jun 07 2018 01:43
i try to avoid it also
thanks for the assistance :shipit: :sparkles:
Kyle Holm
@thekholm80
Jun 07 2018 01:45
:+1:
Henry
@GitHub-Henry
Jun 07 2018 01:49
@adifdwimaulana perhaps this will help
Smootimus
@Smootimus
Jun 07 2018 02:13
yes lol duino dreams
awesome
Claudio Restifo
@Marmiz
Jun 07 2018 04:00

That's right - no code at all. Vanilla JS is so popular that browsers have been automatically loading it for over a decade.

cracks me every time

Alexandria Roberts
@alexandriaroberts
Jun 07 2018 04:41
Hey guys, I am new on gitter yeay. finaly, would someone like to have a look at my code and help me with making it work on small screen. Thank you. https://codepen.io/lexieroberts/pen/PaqMRV
Henry
@GitHub-Henry
Jun 07 2018 05:05
@alexandriaroberts perhaps this can help
Alexandria Roberts
@alexandriaroberts
Jun 07 2018 05:21
Ahh thank you HEnry, I did try to make it work with media queries, it didn't but I should have checked mdn as they ahve more information. I will give it a go again. Thank you.
Henry
@GitHub-Henry
Jun 07 2018 05:26
@alexandriaroberts mdn is a gold mine of info
hensn5250
@hensn5250
Jun 07 2018 05:59
@alexandriaroberts if you are going for a magazine layout CSS Grid is probably the ideal tool to accomplish that.
Alexandria Roberts
@alexandriaroberts
Jun 07 2018 06:16
@hensn5250 I have used css Grid, but probably I am missing something.
Karma Drukpa
@coderkarma
Jun 07 2018 06:26
            <div class="col-2">
                <label for="name">Name</label>
                <input type="text" name="name" id="name">
                <br>
help needed, i am trying to change fontsize of label?
.col-2 level {font-size: 20px}
this is not making any differences why?
Charlie Waite
@charliearlie
Jun 07 2018 06:47
Firstly, wouldn't it be .col-2 label?
And secondly, add a class to the label. Specificity is better in this case. You might not want every label which is a child of .col-2 to have the same styles.
And what if you have a label inside a .col-3 after that too?
@coderkarma
anark22
@anark22
Jun 07 2018 10:12
Hi! Someone that knowa how to create a booking form with a bootstrap modal???
knows!
Smootimus
@Smootimus
Jun 07 2018 15:39
Mornin'
Kyle Holm
@thekholm80
Jun 07 2018 15:40
:wave:
Smootimus
@Smootimus
Jun 07 2018 15:40
:wave:
Smootimus
@Smootimus
Jun 07 2018 16:12
<3 Salesforce <3
Norvin Burrus
@ndburrus
Jun 07 2018 17:12
@anark22 this may be helpful :sparkles:
Karma Drukpa
@coderkarma
Jun 07 2018 17:57
@charliearlie I know that's the thing, so i had to do it in other way thanks .
aenkirch
@aenkirch
Jun 07 2018 22:11
Guys, I have a problem with quantity limiters with regex in JS, can you help me ? Here's my code : https://repl.it/repls/ImportantSelfassuredEquipment
Thanks in advance ;)
Henry
@GitHub-Henry
Jun 07 2018 23:42
Your expression is true because you matched 6 h characters
image.png