Jump to content

I've finished learning till arrays in javascript, what should I do now?


polaryeti
Go to solution Solved by polaryeti,

Recommended Posts

  • Solution

Update: These are the helpful things that I found from my research.

1) Wes bos 30 days of javascript.
2) https://www.freecodecamp.org/news/javascript-projects-for-beginners/
3) Go to codewars easier challenges

Exercises:

 Write a function that takes an array of numbers and returns the largest number in the array.

Write a function that takes an array of strings and returns a new array containing only the strings that are shorter than 4 characters.

Write a function that takes an array of numbers and returns a new array containing only the even numbers from the original array.

Write a function that takes an array of numbers and returns the sum of all the numbers in the array.

Write a function that takes an array of words and returns a new array containing only the words that are palindromes (words that are spelled the same forwards and backwards, like "racecar" or "level").

Try writing some code using loops, if statements etc to
- create a new array that is the reverse of the old array

- reverse an array by modifying it in place

- see what happens if you use the `delete` keyword on an array element

- see what happens if you index or `.find` an element that doesn't exist

- try out the built-in functions `map`, `filter`, `reduce`. See if you can get an intuition for what they do and how they're generally useful

My university programming course assignments.

Based on research, I think I should keep learning more of javascript for the time being.
 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.