Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Project JavaScript E1 Arrays

Topics: Create an Array , Accessing Elements , Update Elements , Arrays with let and const , The .length property , The .push() Method , The .pop() Method , More Array Methods , Arrays and Functions , Nested Arrays , Review Arrays

Project Title: Shoes Shop

  1. Create a html file with your name like john.html
  2. Add current code to that file:
<!DOCTYPE html>
      // your code here
  1. Define an array named shoes and put these items into it:
  • Casual Shoes
  • Sneakers
  • Sandals
  • Boat Shoes
  • Dress Shoes
  1. Log first item and last item into console. For last item use length property.

  2. Change last item of array to Derby Shoes and log last item into console.

  3. Add Espadrilles to the array and log last item into console.

  4. Remove last 3 item of array and log last item into console.

  5. Create a function named showLength that accepts an array and logs the length of array into console.

Want to get reviewed?

Send Pull Request. Check how to deliver your code:

Need help?

Download Learn JavaScript eBook from

You can’t perform that action at this time.