These are chat archives for FreeCodeCamp/Help

10th
Jun 2018
Joseph
@revisualize
Jun 10 2018 01:19
Anyone here know .htaccess?
Sanket Singh
@sanketsingh27
Jun 10 2018 05:25

const result = {
success: ["max-length", "no-amd", "prefer-arrow-functions"],
failure: ["no-var", "var-on-top", "linebreak"],
skipped: ["id-blacklist", "no-dup-keys"]
};
function makeList(arr) {
"use strict";

// change code below this line
const resultDisplayArray = [<li class="text-warning"> ${arr[0]}</li> <li class="text-warning">${arr[1]}</li> <li class="text-warning">${arr[2]}</li>];
// change code above this line

return resultDisplayArray;
}
/**

  • makeList(result.failure) should return:
  • [ <li class="text-warning">no-var</li>,
  • <li class="text-warning">var-on-top</li>,
  • <li class="text-warning">linebreak</li> ]
    **/
    const resultDisplayArray = makeList(result.failure);
I am facing some difficulty with template string in js
Kranti Nebhwani
@darkphotonKN
Jun 10 2018 06:46
can anyone take a look at a portfolio site im building, the nav menu when I click menu I put an animation for it to smoothly appear, then if you mouse over the menu you can see an arrow appear and if you click that the menu disappears. How can I add the same animation to the disappearing of the nav just like I did with the appearing? The codepen is here: https://codepen.io/darkphotonKN/pen/erbORP
And the name of the animation is a keyframes called "nav-animation"
I used javascript to add a class to display: block and show the nav when the menu button is clicked, disappear when the close button is clicked but i cant add an animation the same way I did when showing it
I didn't put responsive design yet so if the screen is small the site doesnt really work so please go onto the link
May Kittens Devour Your Soul
@diomed
Jun 10 2018 09:50
@psyperl thanks, Google
DARK-KNIGHT-491
@rakesh491
Jun 10 2018 10:48
heylo
May Kittens Devour Your Soul
@diomed
Jun 10 2018 13:22
Kelechi Chinaka
@ke1echi
Jun 10 2018 13:41
image.png
fcc bug.JPG
help needed
Kyle Holm
@thekholm80
Jun 10 2018 13:58
@diomed awesome! i like the scroll wheel action
Kyle Holm
@thekholm80
Jun 10 2018 14:09
@kelechy what have you tried?
Kelechi Chinaka
@ke1echi
Jun 10 2018 14:18
image.png
Kyle Holm
@thekholm80
Jun 10 2018 14:19
Note
While there are other ways to specify a color value, like rgb() or hsl(), use hex values for this challenge.
red, yellow and rgb() are not hex values
Kelechi Chinaka
@ke1echi
Jun 10 2018 14:20
i removed the rgb but still does nt work
Kyle Holm
@thekholm80
Jun 10 2018 14:21
Use a linear-gradient() for the div element's background, and set it from a direction of 35 degrees to change the color from #CCFFFF to #FFCCCC.
the example they gave you was not the solution to the lesson
May Kittens Devour Your Soul
@diomed
Jun 10 2018 14:22
whaaa? examples are not solutions?
I am shocked
Kelechi Chinaka
@ke1echi
Jun 10 2018 14:22
it is not just clear to me
May Kittens Devour Your Soul
@diomed
Jun 10 2018 14:22
Use a linear-gradient() for the div element's background, and set it from a direction of 35 degrees to change the color from #CCFFFF to #FFCCCC.
that is what u need to do
Kyle Holm
@thekholm80
Jun 10 2018 14:23

linear-gradient(direction, fromColor, toColor)

set it from a direction of 35 degrees to change the color from #CCFFFF to #FFCCCC.

May Kittens Devour Your Soul
@diomed
Jun 10 2018 14:23
damn, that gradients are barely any useful
Kelechi Chinaka
@ke1echi
Jun 10 2018 14:24
ohhhh i get it now @thekholm80
thanks guys @thekholm80 @diomed
Kyle Holm
@thekholm80
Jun 10 2018 14:25
:+1:
Kelechi Chinaka
@ke1echi
Jun 10 2018 14:25
error msg fcc.JPG
fcc bug.JPG
and this? a bug?
Kyle Holm
@thekholm80
Jun 10 2018 14:25
which lesson?
Kyle Holm
@thekholm80
Jun 10 2018 14:28
why does your <audio> tag have that id?
are you trying to copy/paste the example code again?
... add an audio element after the p. Include the controls attribute.
Kelechi Chinaka
@ke1echi
Jun 10 2018 14:30
its after the p, i guess
Kyle Holm
@thekholm80
Jun 10 2018 14:31
but why does your audio element have an id? the instructions do not ask you to give it an id
Kelechi Chinaka
@ke1echi
Jun 10 2018 14:31
oh true... :+1:
Prakash Kumar
@ThePrakashKumar
Jun 10 2018 15:08
It can't finish test still showing // running test.
Kyle Holm
@thekholm80
Jun 10 2018 15:09
does your code have a loop?
Kyle Holm
@thekholm80
Jun 10 2018 15:10
weird
Prakash Kumar
@ThePrakashKumar
Jun 10 2018 15:11
sfdgffgsfd.JPG
Is there any solution so that I can move further, in hurry.
Kyle Holm
@thekholm80
Jun 10 2018 15:13
refresh the page?
Prakash Kumar
@ThePrakashKumar
Jun 10 2018 15:13
Done many time. Also reset the code.
Kyle Holm
@thekholm80
Jun 10 2018 15:13
hard-refresh?
ctrl+F5
Prakash Kumar
@ThePrakashKumar
Jun 10 2018 15:17
Just reset the code once again and its done now. @thekholm80 thank you so much for your concerns, really appreciate it.
Kyle Holm
@thekholm80
Jun 10 2018 15:17
:+1:
Ankur Sharma
@AnkurSharma102
Jun 10 2018 16:16
Just reset the code once again and its done now. @thekholm80 thank you so much for your concerns, really appreciate it. greatr
psyperl
@psyperl
Jun 10 2018 16:17
Just reset the code once again and its done now. @thekholm80 thank you so much for your concerns, really appreciate it. greatr
Kimmy
@kimmybu
Jun 10 2018 17:16
I am stuck in the Basic HTML and HTML5: Nest an Anchor Element within a Paragraph. I get feedback that p element should have text Veiw More and make sure each of your elements have a closing tag .
This is my code so far <p> Veiw more <a href="http://freecatphotoapp.com"> <a/> link to http://freecatphotoapp.com </a> cat photos. </p>
Kimmy
@kimmybu
Jun 10 2018 17:21
Got it
May Kittens Devour Your Soul
@diomed
Jun 10 2018 17:35
purrrfect
Alexander R Bott
@Abott1222
Jun 10 2018 18:03
Just reset the code once again and its done now. @thekholm80 thank you so much for your concerns, really appreciate it. greatr
Smootimus
@Smootimus
Jun 10 2018 19:33
There a face ain't seen in a long time
Joshua Arnett
@josha5
Jun 10 2018 22:15
Meh.. has anyone used the google-maps-react npm package before and is familiar with it?
or just used the google maps api in general