This forum is now read-only. Please use our new forums at discuss.codecademy.com.

How to use APIs with JavaScript Forum

View Course » View Exercise

638 points
Picture
Submitted by
Alexey Laduda
over 4 years ago

var answer = "The server" is not excepted

I think there might be a bug here:

var answer = "The server";

"Oops! That's not the best answer. Feel free to peek back at the previous exercise if you need help!"

?

great idea for a course btw, great job!


2 votes

permalink

But it says that C is assigned the value of the server so if you type in 'C' the answer will work

1528 points
5167042524ecf4adc400585b_846229066
Submitted by
Arya Prakash
over 4 years ago

4 Comments

9f5899f0c29afb234f3f553a40650bca?s=140&d=retro Kwakuminister over 4 years ago

Answer is "C"

5167042524ecf4adc400585b_846229066 Arya Prakash over 4 years ago

yup.

554aca459113cb4f76000189_503585315 Lincoln over 3 years ago

What!?

5490ce9295e378cde1000bcf_623839765 TEDWASHERE almost 3 years ago

THANKS!!


2 votes

permalink

why c is the answer ?

442 points
534d26c8282ae31e790021f3_896496287
Submitted by
Alaa Afifi kamal
over 4 years ago

1 Comment

5167042524ecf4adc400585b_846229066 Arya Prakash over 4 years ago

practically the server is the answer but c is assigned the value of the server


0 votes

permalink

It accepts if the answer is "Servers"

200 points
482725148b104c8b491c1c8952e804e2?s=140&d=retro
Submitted by
KirsanthKumar
over 4 years ago


0 votes

permalink

The following should work:

var answer = 'C';

616 points
55b51d13e39efe9d890005c8_991466706
Submitted by
Vrutin
about 4 years ago


0 votes

permalink

I had this problem on part 15 of the 'How to Use APIs with JavaScript' Lesson. The Question asks // 1. HTTP is a protocol that connects clients and ______. They have put 6 dashes suggesting the answer would be 6 letters = 'Server'; but only 'Servers'; worked for me.

109 points
23fce49d39b99d5e4ead57f0176b30c1?s=140&d=retro
Submitted by
cynicalsimba
over 3 years ago


0 votes

permalink

way is dis mah famalamarama??

I dunt undrstnd broooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

u gt trolld #10/10meme

emphasized text

#rekt
strong text

111 points
54c2230295e3782b41000f56_232994455
Submitted by
ChristianEADY
about 2 years ago


-2 votes

permalink

It's a bit silly that you have to guess the format of the answer, but if you get it wrong, you should see the following, which does tell you the expected format:

Oops, try again. Did you give your answer as a string, like so: answer = "d"? (Hint: the answer is not "d".)

18 points
7de31a098e38792af83aa59a86636569?s=140&d=retro
Submitted by
Werner Schnitzler
over 4 years ago

2 Comments

Picture Alexey Laduda over 4 years ago

But the answer is string:

var answer = "The server";

326e0508eb8702a9ff53108d3e2a4dbd?s=140&d=retro binarystarr over 4 years ago

did you try simply "server" rather than "the server" ? It will want a very specific answer i'm afraid.