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!...
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!...
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...
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!...
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...
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...
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’...
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...
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....
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:...
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....