Task #177 - Is of age?
Implement the function isOfAge in helper.js. It should accept the users age and return false, if it’s less than 21, otherwise - true. You can’t use if, switch or ternary operator...
Implement the function isOfAge in helper.js. It should accept the users age and return false, if it’s less than 21, otherwise - true. You can’t use if, switch or ternary operator...
The function printArrayElements should use console.log to print out all the array elements to the screen. But it doesn’t work as expected. For some reason only the indices and not the elements are printed....
The function find return the index of the element in the array or -1 if it’s not found. The only issue is that it’s suboptimal. Improve the code and return the index of the element as soon as it’s found in the array....
Implement the function isKeyPresent which checks if the object has a certain field 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 getObjectKeys. It should return an array of strings that represent all keys of the object 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 isIdentical in helper.js It should take two objects and return a boolean value that tells if the fields of the objects are the same. Objects will only have plain fields (strings, numbers or booleans)...
Change the text of the <h1> header. It should become In 3 months I will become a JS developer! 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...
Each article should have a heading Add level 2 heading to the article about London This heading should contain further text: ‘London is the capital of Great Britain’ This task is part of the Full-Stack JavaScript Course...
Time to get to know you better. Add one more paragraph where you can tell a little about yourself Add lever 3 header with your name at the beginning Feel free to add any text you like...
In the file index.html you will find some material to revise. You need to improve the readability of the text a little. Add a horizontal separator line after each paragraph except the last one...