Basic math operations in JavaScript
JavaScript supports all basic arithmetic operations. In this guide, we’ll dive into them and see how do the regular +, -, *, and / perform on different data types. ...
JavaScript supports all basic arithmetic operations. In this guide, we’ll dive into them and see how do the regular +, -, *, and / perform on different data types. ...
The program is already functional. Just make sure you have set everything up correctly by pressing the Run your code button You should see the message Hello, world! on the screen....
Implement a function questionize in helper.js. It should take a string, add a question mark ("?") to it and return this string as a result. This task is part of the Full-Stack JavaScript Course...
Implement a function sum in helper.js which should return the sum of two numbers 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...
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’...