These are chat archives for FreeCodeCamp/Help

27th
Jun 2018
Eddie Cervello
@eddiecervello
Jun 27 2018 01:35
Anyone here with some really solid CSS3 skills willing to help me for 30 minutes? PM me
Eddie Cervello
@eddiecervello
Jun 27 2018 02:46
Which of the following value of the white-space property will set the value of white-space-collapse to "preserve" and value of the text-wrap to "none"?
a. normal
b. pre
c. nowrap
d. pre-wrap
e. pre-line
Claudio Restifo
@Marmiz
Jun 27 2018 03:21

isn't that pre? white space are preserved and new line are formed only at new line char?

this is a very specific question. A test or are you facing a problem?

Eddie Cervello
@eddiecervello
Jun 27 2018 03:24
a test
Bjorn van de Peut
@bjorno43
Jun 27 2018 03:25
Ye that's pre. I usually use that when printing out arrays
@Marmiz :wave:
Claudio Restifo
@Marmiz
Jun 27 2018 03:43
@bjorno43 :wave:
jeez who can be such evil to create a CSS test :scream:
Eddie Cervello
@eddiecervello
Jun 27 2018 03:44
div { grid-row: 4em (0.25em 1em); } <<<<<< what does this do?
i've never seen a grid row (start/end) using em units... cant find any documentation online
Eddie Cervello
@eddiecervello
Jun 27 2018 03:49
/giphy cats with hats
Claudio Restifo
@Marmiz
Jun 27 2018 04:19
@eddiecervello well' doesn't row accept CSS length values?
I thought you could grid-row: 200px (so by extension) grid-row: 5rem
Bjorn van de Peut
@bjorno43
Jun 27 2018 04:25
@Marmiz He's trying to pass some kind of test (asked me to help him out with it). Personally I think that if you're doing a test, you should've studied for it and that we're certainly not here to help someone cheat on a test
Eddie Cervello
@eddiecervello
Jun 27 2018 04:45
The test is also 10+ years old so pardon me for not exactly knowing unsupported versions and depleted syntax i've never used before... reason I asked here was to find someone with a bit more history in some of the questions i was getting
Claudio Restifo
@Marmiz
Jun 27 2018 05:03

@eddiecervello nothing wrong in asking for help. But I think it's also a matter of attitude.
One thing is saying "hey X, would you tell me the answer to this for my test",

another is looking at your questions, try to find your solution and then asks: "hey guys, this tests asked me X. The official docs states "....", but how is that in practice?".

Thing is that here you probably won't find many people willing to give you straight answers without showing them you tried to come up with a solution yourself first

Bjorn van de Peut
@bjorno43
Jun 27 2018 05:04
@Marmiz Untill he agrees with the CoC, he's no longer with us
Claudio Restifo
@Marmiz
Jun 27 2018 05:05
In general, the "best" approach can be summarized in what SO did:
https://stackoverflow.com/help/how-to-ask
@bjorno43 :hammer:
Henry
@GitHub-Henry
Jun 27 2018 05:08
are there good ways to debug React apps with VS Code. I installed the chrome react ext, but so far I rely on console log to get my app info
Bjorn van de Peut
@bjorno43
Jun 27 2018 05:08
Besides that, I'm fairly certain no 10+ years old CSS test asks CSS3 questions like grid, lol
Claudio Restifo
@Marmiz
Jun 27 2018 05:11
@GitHub-Henry I think recent releases of VSCode support React debugging out of the box.
So you should be albe to set the whatever.vscode.setting.json and then once VS run the app you can F5 and use breackpoints from your editor
Henry
@GitHub-Henry
Jun 27 2018 05:35
@Marmiz appreciate the tip
Claudio Restifo
@Marmiz
Jun 27 2018 05:53

to whom it may concern: react released a blog post at the beginning of the month with some great insight on possible bugs that we may introduce, mainly related to deriving state from props.

worth a read:
you probably don't need derived state

Mehdi Amlal
@mehdiamlal
Jun 27 2018 08:11
Hey guys! How come the this keyword doesn't work with arrow functions?
Claudio Restifo
@Marmiz
Jun 27 2018 08:11
@mehdiamlal arrow func doen'st bind the context of this
*doesn't
Kelechi Chinaka
@ke1echi
Jun 27 2018 10:10
I will resume sometime next week..am on the last part of music(pset3) @ezioda004
chinedu
@chinedu69931716_twitter
Jun 27 2018 10:45
hello
John
@taloloy18
Jun 27 2018 12:42
Hi guys
I'm a bit confuse on this challenge
background: var(--penguin-skin);
where I will be putting that on the code?
Alexandar B
@ace1122sp
Jun 27 2018 12:47
hi people.. i'm having an issue with https://learn.freecodecamp.org/information-security-and-quality-assurance/advanced-node-and-express/how-to-use-passport-strategies
test fails on second requirement, but i as far as i can see, my redirect to '/' is working properly..
any thoughts?
chinedu
@chinedu69931716_twitter
Jun 27 2018 12:55
Which of the following is true about data types? *
Provides a way to represent and interpret data
Allows computers to understand what and how different operations can be performed on that given data
Used for grouping of data for easy organisation and access
Defines the list or range of valid values and the characteristics of a value
John
@taloloy18
Jun 27 2018 13:00
Mine is done already!
XD
OGTechnoBoy
@OGTechnoBoy
Jun 27 2018 13:04
What is interesting polygon?
And how the heck you could find its area only by its n sides?
It seems pretty impossible unless you have angles.
alpox
@alpox
Jun 27 2018 13:48
@OGTechnoBoy There is a more or less simple method for polygons without intersections
If you have the points
OGTechnoBoy
@OGTechnoBoy
Jun 27 2018 13:49
Yes but I don't know what interesting polygon is.
The challenge doesn't even explain it.
alpox
@alpox
Jun 27 2018 13:50
@OGTechnoBoy I guess they mean a polygon with n sides
OGTechnoBoy
@OGTechnoBoy
Jun 27 2018 13:50
Oh ok then.
alpox
@alpox
Jun 27 2018 13:50
Triangle, Square, Pentagon, Hexagon, Octagon
OGTechnoBoy
@OGTechnoBoy
Jun 27 2018 13:50
But I searched everywhere about a method for that and I didn't find any.
They only give you n sides, and to find area, you need the radius and sum of all sides
But I don't know what the length of 1 side is.
alpox
@alpox
Jun 27 2018 13:51
A short google search lead me to
All the way down there is a formula
But i'm not sure how usable it is
Oh, There seems to be another definition for the one in codefights
If its that what you do
image.png
Kyle Holm
@thekholm80
Jun 27 2018 13:55
every time i find a kata with instructions like that on codewars i immediately skip it lol
it shouldn't take longer to figure out what they're talking about than it does to solve the problem
alpox
@alpox
Jun 27 2018 13:55
@thekholm80 yup
alpox
@alpox
Jun 27 2018 14:06
@thekholm80 Took me about 10-20 min to find that kata on codwars and 0.5 min to solve it... time badly spent.. :D
Kyle Holm
@thekholm80
Jun 27 2018 14:06
rofl
look at some of the 1 or 2 kyu problems ... most have instructions that are insane to try to understand
alpox
@alpox
Jun 27 2018 14:07
@thekholm80 Yep, I solved some of those
@thekholm80 If you want a cool kata: https://www.codewars.com/kata/546e8dc735a6613de50007ea
Kyle Holm
@thekholm80
Jun 27 2018 14:11
ugh - too many instructions
alpox
@alpox
Jun 27 2018 14:11
I liked that one the most of the codewars katas yet tho :D
Kyle Holm
@thekholm80
Jun 27 2018 14:11
i've done some that had really long instructions and enjoyed them, so maybe i'll give it a try
alpox
@alpox
Jun 27 2018 14:11
The cool thing about it is that its all recursion :D
In all its glorious forms :D
Or most ^^
Kyle Holm
@thekholm80
Jun 27 2018 14:12
alpox
@alpox
Jun 27 2018 14:13
Also lots to read :D
Kyle Holm
@thekholm80
Jun 27 2018 14:13
yeah, but it was worth it
i like the katas that make me learn really weird parts of JS i'll probably never use
https://www.codewars.com/kata/557a5682f896b5c1eb000048
this one required weird JS i'd never seen before, too
alpox
@alpox
Jun 27 2018 14:18
Ye now i've read it :D look slike fun
I'll read that one later :D i'll do that one with the wand now for fun
May Kittens Devour Your Soul
@diomed
Jun 27 2018 14:41
guys, I'm healthy. dr. confirmed no lung cancer! YAY
Christopher McCormack
@cmccormack
Jun 27 2018 14:46
har har :)
julien Demarque
@JulienDemarque
Jun 27 2018 14:57
Hi guys, I have a question, if you are developing locally with mongodb, the database goes by default to the root user folder. Why is it that? It wouldn't be better to have the database in the folder of the app? Otherwise all apps on the computer would be sharing the same database, no?
julien Demarque
@JulienDemarque
Jun 27 2018 15:04
Actually not even the user but the root of harddrive: "mkdir -p /data/db"
Christopher McCormack
@cmccormack
Jun 27 2018 15:11
Databases don't necessarily have to be used with just a single app, @JulienDemarque .
julien Demarque
@JulienDemarque
Jun 27 2018 15:14
@cmccormack I know, It just feel weird to separate the app from the database like this. specially in the root folder, I think on mac I even need to give permission to create a folder there.
Christopher McCormack
@cmccormack
Jun 27 2018 15:14
you should always separate your app from your db
julien Demarque
@JulienDemarque
Jun 27 2018 15:16
@cmccormack Why?
Bjorn van de Peut
@bjorno43
Jun 27 2018 15:16
@JulienDemarque It makes sense to have the database (server) on a central location where it can be reached by all apps. Otherwise you'd need a completely new database (server) for each app.
Christopher McCormack
@cmccormack
Jun 27 2018 15:17
If running locally you can use collections for different apps instead of using a different database
julien Demarque
@JulienDemarque
Jun 27 2018 15:18
@bjorno43 I hadn't thought of that...
Bjorn van de Peut
@bjorno43
Jun 27 2018 15:18
Normally, when you actually have a database server, it hosts several databases. One for each app. And those databases have seperate login details so the apps can only access their own databases
alpox
@alpox
Jun 27 2018 15:24
@thekholm80 That was fun :D took a bit though. Finished!
Bjorn van de Peut
@bjorno43
Jun 27 2018 15:31
@cmccormack @alpox Wanted to ask you guys something
alpox
@alpox
Jun 27 2018 15:32
@bjorno43 Ask along
Bjorn van de Peut
@bjorno43
Jun 27 2018 15:34
I've recently came up with the idea to develop a WYSIWYG editor that works with CSS frameworks like Materialize and Bootstrap. The project is gonna be too large for me tackle alone so a few ppl here like @thekholm80 are interested in doing this together. So I was wondering if you guys are interested in joining the team as well?
alpox
@alpox
Jun 27 2018 15:35
@bjorno43 Thats an interesting thing to tackle. So you are talking about a WYSIWYG that would assign the right classes etc. for those frameworks / create components of them?
Bjorn van de Peut
@bjorno43
Jun 27 2018 15:36
Yes, that's the idea
I've done WYSIWYG editors before, but never with any css frameworks. So it's gonna be challenge for me as well
alpox
@alpox
Jun 27 2018 15:37
Its surely interesting. Im a bit short on time but I could contribute at some parts :)
Bjorn van de Peut
@bjorno43
Jun 27 2018 15:38
Well obviously we'll be working with Github for it, so contributing is always possible
alpox
@alpox
Jun 27 2018 15:38
I figured as much :D
Is there a specific usecase that came up for it or is it more a general idea?
Bjorn van de Peut
@bjorno43
Jun 27 2018 15:40
It's more of a general idea. There are a few editors out there that already attempted doing this, but most are really just template editors instead of true wysiwyg editors
That's what gave me the idea to see if it's actually possible to do. It'd definitely be interesting, that's for sure, haha
Kyle Holm
@thekholm80
Jun 27 2018 15:48
@alpox i enjoyed that one. kind of felt like i was abusing JS
Kyle Holm
@thekholm80
Jun 27 2018 17:27
@bjorno43 what i'd like to see at the end, is once the user has got everything just so the editor will spit out minified code with a targeted README for deploying to their chosen hosting
alpox
@alpox
Jun 27 2018 17:31
@thekholm80 But that would work only for singlepage websites?
Kyle Holm
@thekholm80
Jun 27 2018 17:31
why? spitting out a zipped file wouldn't be too hard
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:31
@thekholm80 One step at a time. I've already been working on a plan and I've seen a few major issues that will challenging to say the least
alpox
@alpox
Jun 27 2018 17:32
@thekholm80 Because I guess you could only edit one page at a time with the wysiwyg editor itself
Kyle Holm
@thekholm80
Jun 27 2018 17:32
i guess i don't understand
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:33
Like wysiwyg editors usually allow their users to modify the actual code as well. Which is fine, but you're going to have to prevent the editor from overwriting the user provided code. Even if the user changes stuff in the editor again
Ankit Tiwari
@anku255
Jun 27 2018 17:34

I've recently came up with the idea to develop a WYSIWYG editor that works with CSS frameworks like Materialize and Bootstrap. The project is gonna be too large for me tackle alone so a few ppl here like @thekholm80 are interested in doing this together. So I was wondering if you guys are interested in joining the team as well?

What's the stack you will be using to build it?

Kyle Holm
@thekholm80
Jun 27 2018 17:34
LAMP, like real OGs
:smirk:
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:35
So far all I think all that's really needed is jQuery and ACE Editor. Thought about React, but as I do not speak that myself, I had to throw it out of the window :laughing:
alpox
@alpox
Jun 27 2018 17:36
@bjorno43 Yes, that one is tricky. I believe tagging of selfwritten parts of the code is needed through either substring tracing (uhm... hard)
Or AST building (Heck even worse)
Reaact :sunglasses:
Ankit Tiwari
@anku255
Jun 27 2018 17:37
@bjorno43 Cool. Share the project once you start. I will try to help wherever I can. :smiley:
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:38
@anku255 I will :) I'm gonna lay out some foundation work myself first. So we have something to begin with
@alpox Yup, it's something that's gonna require some creativity alright, ghehe
alpox
@alpox
Jun 27 2018 17:39
@bjorno43 Maybe https://draftjs.org could also help too as a basis
Or we could take ideas from it. The concept of entities as example
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:41
@alpox I don't think that's needed. ACE Editor will cover the actual coding and I already know how to make normal wysiwyg editors myself
alpox
@alpox
Jun 27 2018 17:41
Alright then
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:43
Ye I made some myself in the past. It's actually not really that hard to do. Of course full blown editors like TinyMCE have a lot to offer, but it also means a lot of code that we haven't written ourselves. Which means less control
alpox
@alpox
Jun 27 2018 17:44
Of course, I'd also not choose a full blown editor
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:44
But I'll have a more in depth look at DraftJS. Perhaps it can come in handy
I like the fact that it's framework and not a finished product
alpox
@alpox
Jun 27 2018 17:45
Well no need to use DraftJS itself, but its quite lightweight anyways, only comes with the basis of the basis (structure actually)
From the first look it just seems to have some interesting concepts for the internal representation
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:46
Wait.. that's a React framework. I don't speak React, ghehe
Kyle Holm
@thekholm80
Jun 27 2018 17:47
time to level up
alpox
@alpox
Jun 27 2018 17:47
Yep it is :D
Kyle Holm
@thekholm80
Jun 27 2018 17:47
React is worth taking the time to learn, imo
alpox
@alpox
Jun 27 2018 17:47
React is still the best of all the frameworks imo
If you can call it framework :D its probably too small for that
Kyle Holm
@thekholm80
Jun 27 2018 17:49
it just makes sense to me, the way it works
alpox
@alpox
Jun 27 2018 17:49
Yup its pretty streight forward
Kyle Holm
@thekholm80
Jun 27 2018 17:50
maybe i have Stockholm Syndrome
Bjorn van de Peut
@bjorno43
Jun 27 2018 17:51
I don't mind diving into React, but it just means it's gonna take more time before I can get this project of the ground
Kyle Holm
@thekholm80
Jun 27 2018 17:51
worth it. i'm not going to soil my hands with your jQuery mess
alpox
@alpox
Jun 27 2018 17:51
I probably cannot contribute much because of my little time, but i'd also weight in with voting for no jQuery mess :D
Kyle Holm
@thekholm80
Jun 27 2018 17:52
the stephen girder course on udemy is pretty awesome. he covers react, react-router and redux
Ankit Tiwari
@anku255
Jun 27 2018 17:55

the stephen girder course on udemy is pretty awesome. he covers react, react-router and redux

Stephen Grider is awesome. I took his MERN stack course and it was fantastic. He explains every little tiny thing. Can't recommend him enough.

Kyle Holm
@thekholm80
Jun 27 2018 17:55
and he actively updates the lessons
Laura Veee
@Cyclokitty
Jun 27 2018 17:55
+1 for Stephen Grider course. Taking his React Native course and it is excellent.
I wanna take this one but I should focus on MERN stack :laughing:
Kyle Holm
@thekholm80
Jun 27 2018 17:57
that reminds me, i'd like to learn SQLite sometime soonish
i noticed repl.it uses that in it's express environments
Ankit Tiwari
@anku255
Jun 27 2018 18:00
I always want to learn new things (even I don't need to) and that's probably not good. I finally made a decision that I am going to stick to MERN stack and build a ton of projects with it before trying something new.
Kyle Holm
@thekholm80
Jun 27 2018 18:00
i think if i were trying to work as a dev i'd laser-focus on something, but since i just build garbage in my spare time i can jump all over the place
alpox
@alpox
Jun 27 2018 18:01
I will probably soon focus on clojure in my free time
Kyle Holm
@thekholm80
Jun 27 2018 18:01
so trendy
alpox
@alpox
Jun 27 2018 18:01
I am looking forward to that for long
Ankit Tiwari
@anku255
Jun 27 2018 18:03
I learnt Python, Java, Android Development before trying out web dev. In web dev, I also tried to learn a lot of new things before mastering basic things first. Learning Backend before CSS was a big mistake. Also learning Redux before mastering React was another one. I am now learning CSS at a deeper level now because it's the most important thing. Your websites should look good :smile:
Kyle Holm
@thekholm80
Jun 27 2018 18:04
i want all my websites to run in a terminal window
Ankit Tiwari
@anku255
Jun 27 2018 18:04
haha
If I ever decide to do freelance work then my customers always see the design first and then everything else. They won't care if I have used React or SSR if it doesn't look attractive to them.
alpox
@alpox
Jun 27 2018 18:06
I want my websites to be in-memory only :sunglasses:
Kyle Holm
@thekholm80
Jun 27 2018 18:06
lol
Ankit Tiwari
@anku255
Jun 27 2018 18:07
What do you do btw? @thekholm80 :smile:
Kyle Holm
@thekholm80
Jun 27 2018 18:08
i work in the PR/Communications field. my company is kind of niche, and my role in the company even more so - so it's easier to just say "I work in PR/Communications"
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:08
@anku255 A good anecdote from The Matric: "No one cares how it works, as long as it works" :P
Ankit Tiwari
@anku255
Jun 27 2018 18:09
@thekholm80 Nice :sparkles:

@anku255 A good anecdote from The Matric: "No one cares how it works, as long as it works" :P

that's true :D

Bjorn van de Peut
@bjorno43
Jun 27 2018 18:11
Oh nice. Just got an interesting job offer through my mail
Kyle Holm
@thekholm80
Jun 27 2018 18:12
i get those sometimes, usually from Nigerian Princes who need to expatriate some money
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:12
:joy:
alpox
@alpox
Jun 27 2018 18:13
@thekholm80 :laughing:
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:14
Nah. Some start-up company in my neighbourhood that owns 2 large serverparks is looking for someone fluent in C# and PHP. Guess who matches that description? :smile:
Alexander R Bott
@Abott1222
Jun 27 2018 18:14
hello everyone. I am trying to make the content change color when I mouse over a div. Currently everything will only change when I mouse over the link :(
alpox
@alpox
Jun 27 2018 18:14
@bjorno43 Well targeted :D
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:14
Ye definitely! :P
Kyle Holm
@thekholm80
Jun 27 2018 18:14
@bjorno43 do it!
Alexander R Bott
@Abott1222
Jun 27 2018 18:14
but when I mouse over the p tag the link wont change color
alpox
@alpox
Jun 27 2018 18:15
@Abott1222 .stuff a:hover should be .stuff:hover a because the hover should be on the div
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:16
@thekholm80 We'll see. First I'm gonna check what exactly they're offering. Start-ups are usually the cheap-ass ones so I'd like to see my contract first, ghehe
Alexander R Bott
@Abott1222
Jun 27 2018 18:17
@alpox you are the real MVP!
@alpox thanks
Kyle Holm
@thekholm80
Jun 27 2018 18:17
@bjorno43 fingers crossed they have tons of angel investors, a great idea and the vision, experience and leadership to get it done
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:18
Ye exactly!
Last start up that offered me a job a few months ago was like: Well, we have nothing yet. We want you to set everything up and run the department. We're offering you a 60k gross salary.....
alpox
@alpox
Jun 27 2018 18:20
@bjorno43 Thats when you turn around and walk into the sunset
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:20
@alpox Exactly, lol
Kyle Holm
@thekholm80
Jun 27 2018 18:21
poor Hulk
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:24
I nicely wished them good luck finding someone with the papers and experience needed to do something like that for that amount of money, ghehe
Alexander R Bott
@Abott1222
Jun 27 2018 18:25
probably went to upwork lol
Kyle Holm
@thekholm80
Jun 27 2018 18:25
pfft i bet it would only be 80 hour weeks for a few years
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:25
From what I can tell, they still haven't found anyone, lol
@thekholm80 Yup. I mean, I've got the experience needed in running a department and that alone already translates to 60 hours a week easily. If you count the hours you spend at home on your job. Let alone the work required to set it all up
Kyle Holm
@thekholm80
Jun 27 2018 18:28
all for $60k per year lol
Bjorn van de Peut
@bjorno43
Jun 27 2018 18:29
Exactly. So ye.. no.. not gonna happen xD
Kyle Holm
@thekholm80
Jun 27 2018 20:35
oh wow, CS50 added 3 new courses - Web Programming with Python and JavaScript, Intro to Game Dev and Mobile App Development with React Native
Aditya
@ezioda004
Jun 27 2018 20:45
@thekholm80 That React Native course looks promising, the course description makes it seem its mostly React though (not complaining).
Kyle Holm
@thekholm80
Jun 27 2018 20:45
@ezioda004 they all seem like they would be interesting
i love flask and i wouldn't mind learning some more django, so the web one would be fun. i could live without the sql, html, css, etc lol
Aditya
@ezioda004
Jun 27 2018 20:49
Yeah, that one seems great aswell!
Ryan Williams
@Ryanwfile
Jun 27 2018 22:06

The first challenge in SASS says to create a variable and assign it to the color property of the .blog-post class and h2 element, after doing this and getting the desired results on the screen the challenge says I need to "Your .blog-post element should have a </code>color</code> of red.
Your h2 elements should have a </code>color</code> of red."

Not sure what to do to make this work, here is the code

<style type='text/sass'>
   $text-color:red;

  .blog-post, h2 {
    color:  $text-color;
  }
</style>
Christopher McCormack
@cmccormack
Jun 27 2018 22:07
try putting a space after your colon @Ryanwfile
where did you .header go?
Kyle Holm
@thekholm80
Jun 27 2018 22:08
looks like there's 2 spaces in color: $text-color;
maybe more than 2
Ryan Williams
@Ryanwfile
Jun 27 2018 22:10
I have tried it with no spacing, with 1 space, with 2 spaces, with semi colons, without semi colons, none pass the test but all show the desired red color result
Christopher McCormack
@cmccormack
Jun 27 2018 22:10
try refreshing
Kyle Holm
@thekholm80
Jun 27 2018 22:10

did you remove the

  .header{
    text-align: center;
  }

?

Ryan Williams
@Ryanwfile
Jun 27 2018 22:10
nope
is there any way to pass this challenge?
Christopher McCormack
@cmccormack
Jun 27 2018 22:11
@Ryanwfile did you refresh and try again? If so paste your full style section
Kyle Holm
@thekholm80
Jun 27 2018 22:11
it worked for me, try resetting the challenge
Ryan Williams
@Ryanwfile
Jun 27 2018 22:12
I have refreshed, and tried using firefox instead of chrome
Christopher McCormack
@cmccormack
Jun 27 2018 22:12
don't crop anything when sharing code, you may have a mistake somewhere else that's affecting the rest
Ryan Williams
@Ryanwfile
Jun 27 2018 22:12
what did you do to pass it, what code?
Kyle Holm
@thekholm80
Jun 27 2018 22:13
image.png
Christopher McCormack
@cmccormack
Jun 27 2018 22:13
mine passed too with no problems
Ryan Williams
@Ryanwfile
Jun 27 2018 22:13
what code please
I'm sure I made a mistake or else it would pass
Christopher McCormack
@cmccormack
Jun 27 2018 22:13
paste your code we shouldn't share passing code
Ryan Williams
@Ryanwfile
Jun 27 2018 22:13
just want to know what I did wrong
Kyle Holm
@thekholm80
Jun 27 2018 22:13
then show your code
Ryan Williams
@Ryanwfile
Jun 27 2018 22:15
<style type='text/sass'>
$text-color:red;

  .header{
    text-align: center;
  }
  .blog-post, h2 {
    color:$text-color;
  }
</style>
Kyle Holm
@thekholm80
Jun 27 2018 22:15
still missing some spaces
Ryan Williams
@Ryanwfile
Jun 27 2018 22:15
not sure I should spam chat with all of the different spacing versions
Christopher McCormack
@cmccormack
Jun 27 2018 22:15
you can edit previous posts and refer to it
Ryan Williams
@Ryanwfile
Jun 27 2018 22:16
just want to know what the code is to pass, what am I doing wrong
Christopher McCormack
@cmccormack
Jun 27 2018 22:16
I don't see anything wrong with it, and your code is working for me
Ryan Williams
@Ryanwfile
Jun 27 2018 22:17
ahh a glitch, there are a lot of those lately
Christopher McCormack
@cmccormack
Jun 27 2018 22:17
you didn't modify the html did you?
Ryan Williams
@Ryanwfile
Jun 27 2018 22:17
maybe chrome and firefox are no good for these tests
no
Kyle Holm
@thekholm80
Jun 27 2018 22:17
worked fine in chrome for me
Christopher McCormack
@cmccormack
Jun 27 2018 22:17
It worked in both chrome and FF for me
Ryan Williams
@Ryanwfile
Jun 27 2018 22:17
alright, just a glitch, hopefully they fix it soon
thanks for the help
Christopher McCormack
@cmccormack
Jun 27 2018 22:19
Make sure you check your browser console, maybe there's an error message you can use to submit an issue on the FreeCodeCamp Github Issues page
They can only fix what they know about
Ryan Williams
@Ryanwfile
Jun 27 2018 22:20
Only help I see is to ask for help on forum, not sure where to declare bugs
Pixxel123
@Pixxel123
Jun 27 2018 22:23
Hey guys, I'm having trouble getting my radio buttons to move downwards from the question, what am I doing wrong with positioning? Pen here, problem area highlighted in yellow: https://codepen.io/Pixel123/pen/NzByep
Ryan Williams
@Ryanwfile
Jun 27 2018 22:24
yea it's a known bug then, thanks for the help freeCodeCamp/freeCodeCamp#17570
Christopher McCormack
@cmccormack
Jun 27 2018 22:34
@Pixxel123 your label is usually a sibling of the element (usually an input) for which it is a label. You may want to use a fieldset instead
Also not the for attribute of a label should match the id of the input that it is a label for