In this project, we will be working with variables and understanding the different data types
Declare variables, assign values to the variables, and console.log variables.
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
To complete this project you will need the following:
- Google Chrome browser
- Google Chrome Developer tools
- Sublime Text
- Fork this repository
- Clone this repository from your personal Github account:
- Copy HTTP address on the page.
- In your webdev folder on your desktop, 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 about-me folder by using the command
cd aboutme
- Open about-me folder in your Visual Studio Code by selecting File then Open Folder
- Create
index.html
file and link toaboutme.js
- Create sanity check
- Type console.log('hello world') in
aboutme.js
- Go to
index.html
and right click open in browser - 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
aboutme.js
file - After you complete and save the first instruction, refresh your browser to see your new console.log
Variables - https://www.w3schools.com/js/js_variables.asp
Data Types - https://www.w3schools.com/js/js_datatypes.asp