All language subtitles for 033 Challenge 16_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

All right.

So time for challenge 16. Make sure that you've watched a class lesson on Express routing parameters because

this challenge is all about putting it into practice. To start off this challenge

I want you to head over to your console and you're going to type the letters 'rs' while your nodemon

server is running.

What this does is that it will force nodemon to restart your server.

And in terms of our website that means it will get rid of any previous blog post that we had because

it will rerun this entire page and it will set our posts array back to empty.

So the challenge is can you change the code inside Atom such that we head over to localhost:3000

/posts/ anything you type in here, let's say testing right.?

Then when I hit enter it should do nothing on our page but when you head over to our terminal it should

print whatever it is that comes after

/post/ right?

So this last part, whatever it is I write in here, when I hit enter it should get logged in our console.

And this requires you to apply what you learned in the last lesson about route parameters and using

Express JS to achieve this.

So pause the video and complete the challenge

now. All right so there's only one hint for this challenge and that is remember that using Express if

you have a read of the documentation, you can see that whatever parameter you have in here you can access

it using request.params and then dot the name that you've put over here

right? So whatever it is, it has to be spelt exactly the same. And hopefully this is enough of a hint for

you to be able to reach the answer yourself.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.