In this project, we will be working with arrays and understanding the different array methods
Use array methods to manipulate the array
In order to complete this project students must have the following:
- Basic understanding of Github forking and cloning.
- Be able to link
html
with thejs
file - Basic understanding of using array methods
To complete this project you will need the following:
- Google Chrome browser
- Google Chrome Developer tools
- VS Code
- Fork this repository
- Clone this repository from your personal Github account:
- Copy HTTP address on the page.
- In your webdev folder, run the command
git clone [insert the github http url address copied from github]
in order to clone that repository into your folder.
- Navigate into the arrays-all-day folder by using the command
cd arrays-all-day
- Open about-me folder in your Visual Studio Code by selecting File then Open Folder
- Create
index.html
file and link toapp.js
- Create sanity check
- Type console.log('hello world') in
app.js
- Run live-server in Terminal
- When the Chrome browser opens, right click then click inspect
- Click on the console tab,
"Hello World"
should show up
- Type console.log('hello world') in
- You will be following instructions and writing your code in the
app.js
file - After you complete and save the first instruction, refresh your browser to see your new console.log
W3 Schools: Array Methods - https://www.w3schools.com/js/js_array_methods.asp
MDN: Array - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array