🚀 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 💪

Task #102 - Fix greeting

The function sayHello is broken, you need to fix it. It should take in the users name and return the greeting, in the proper format. Punctuation does matter. Examples: ‘Hello, John!...

August 15, 2020 · 1 min · Coderslang Master

Task #103 - Circle length

Implement a function circleLength that calculates and returns the length of the circle given its radius This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...

August 15, 2020 · 1 min · Coderslang Master

Task #1032 - Server greeting

Figure out how the program works and change it to make sure that if we open localhost:8080/hello in the browser, we see the message ‘Hello, Coderslang!’. Don’t forget to install node modules before running the server!...

August 15, 2020 · 1 min · Coderslang Master

Task #1033 - New route

Implement a new route GET /about. It should return a string Lorem ipsum dolor sit amet This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...

August 15, 2020 · 1 min · Coderslang Master

Task #1034 - Start server

Our team started some refactoring, but hasn’t finished it. You should implement the function startServer(server, port) in functions.js. It shouldn’t do anything complicated. Just start the server on port. This task is part of the Full-Stack JavaScript Course...

August 15, 2020 · 1 min · Coderslang Master

Task #104 - Samples

Implement the function createSamples that takes a string and returns two samples of it, one in the lowercase and another one in the uppercase. Samples should be combined, i.e. createSamples(‘HeLLo’) should return the string ‘helloHELLO’...

August 15, 2020 · 1 min · Coderslang Master

Task #1042 - Add middleware

Add the logRequestType function as a server middleware You should only make changes to server.js. This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...

August 15, 2020 · 1 min · Coderslang Master

Task #1043 - Log request timestamp

Implement the function logRequestTimestamp and use it as middleware. The function logRequestTimestamp should print the current date and time to the screen in UTC format, i.e. Mon, 23 Nov 3027 10:15:26 GMT....

August 15, 2020 · 1 min · Coderslang Master

Task #1044, Stage #1 - Configurable logger middleware

We’re going to implement a configurable logger. You’ll be able to add or remove logging options based on your current needs. Here are a couple of requirements that are expected of our new logger:...

August 15, 2020 · 2 min · Coderslang Master

Task #1044, Stage #2 - Configurable logger middleware

Cool, so logger returns a middleware function, but it doesn’t do much yet. Let’s improve its behavior: log current date, request method and url for each incoming request using console....

August 15, 2020 · 1 min · Coderslang Master