Introduction
This WebQuest was designed to teach teachers how to code using JavaScript. This is very challenging and possibly hard to understand. If you follow the steps exactly, you should know how to do the basic steps of coding using JavaScript. Good Luck!
Task
You have been told that you have been selected to be on a show about coding. You are excited about it until you remember that you have no idea how to code or what coding is. You search everywhere but only find a simple list telling how to code using JavaScript. You decide that it your best option. You try to follow the steps but don't understand it.
Process
Step 1. Go to a website (Such as CodeAcademy) that allows you to code using JavaScript.
Step 2. Once you have downloaded the program; you have access to tons of commands. Start by typing your name inside quotes: “ “
Step 3. Then, press “Return”. The box in the upper right-hand corner should repeat it back to you. Delete your name and the quotes. Next, try adding, multiplying, subtracting, or dividing two numbers. Use the asterisk ‘*’ to multiply and use the slash ‘/’ to divide. Do not put the numbers in quotes: ‘4-5’ ‘6+7’ ‘9/3’ ‘4*9’
Step 4. The same box should give you an answer after pressing enter. Try typing in a random word in quotes with ‘.length’ after it: “popcorn”.length
Step 5. This should also give you a result. The result must be certain number. The number tells how many long the word is. You can also confuse the computer. Do this by typing in a word without quotes: Kiwi
Step 6. This should say something along the lines of “ReferenceError”. To make it harder; try asking the computer a greater than ‘>’, less than ‘<’, equal to ‘==’, not equal to ‘!==’, less than or equal to ‘<==’, or greater than or equal to ‘>==’
in parenthesis: (4 > 6)
Step 7. This should give you the answer to your problem in the box. The answer will be ‘true’ or ‘false’. Those were the basic steps to coding using JavaScript. There are other things that you can do using JavaScript; that is all that I will teach you. Hope that this was fun and helps you know how to use JavaScript!
Go to www.codeacademy.com and sign in to learn more on how to use JavaScript!
Evaluation
If the computer responds back to your questions, words in quotes, and you have confused the computer at least once:
You get a 100%!
If it responds to your words in quotes and you confused the computer, but did not get the words in quotes:
You get a 75%
If you confuse the computer but it didn't respond to everything you did:
You get a 50%
If you didn't finsih all the steps but you confused the computer:
You get a 25%
If you didn't complete any of the steps:
You got a 0
Conclusion
Thank you so much for doing the WebQuest!
I hope that you now know how to do even just a little bit of coding using JavaScript!
Congradulations!
Credits
Everything was designed and created
by Cayden Phillips.