This week we introduced the programming language of the Internet, JavaScript. With JavaScript we can make our websites smart by adding interactivity and logic.
- Variables and Constants
- Conditional statements
As always, start off by forking and cloning this repository from GitHub. Open the code up in Atom to get started.
Remember console.log()
is your friend and you can use it in conjunction with the browser console to see the output of your code as you go (just like you did to see your 'Hello World' last week!).
This assignment you'll be completing the scripts in the following files. But note, that we have different levels of difficulty.
- index.html (You can put any questions you have in this file)
- aboutMe.js (Required Features, Stretch Goals)
The aboutMe.js file contains comments with prompts on what code to write. Do not erase the comments, just write the code below each commented line.
NOTE: The aboutMe.js file is already sourced into index.html.
Below is a brief explanation of:
- what to expect when attempting each level
- if they are required or not
Level | Description |
---|---|
Required Features | required |
Stretch Goals | optional, stretches your understanding and may require additional research |
Complete the aboutMe.js
file.
There are additional step by step instructions in the file -- please use console.log
after every step to check your work!
Since some steps later in the file use results from earlier steps, you'll want to make sure things are right!
As you get to conditionals, sometimes there are multiple possibilities for how our code could execute. Try changing variables a bit to see if the code still works!
Check in your repo, then turn in your work via the EDA Assignment Portal, as usual and don't hesitate to hit up the Slack channel as needed!
REMINDER: Make sure to answer the Slack discussion question!