-4

I've been given a task to produce a webpage which solves the quadratic formula. Talking to friends they have said the simplised way is to learn java script and build the webpage. I have been learning the language on code academy and that's fine but where and how do I i write in my own code and execute it for java script? All I have been using so far is the editor page on code academy. Im completely lost in where to go next

Alexis C.
  • 91,686
  • 21
  • 171
  • 177
  • 1
    Open up Notepad on your computer, write in there, and open it with your browser. Or just use WolframAlpha. – Derek 朕會功夫 Feb 15 '14 at 22:19
  • Ya just start with any code editor and you are good to go in the browser. you can also see this question http://stackoverflow.com/questions/5125431/how-to-start-programming-in-windows – Ashish Singh Feb 15 '14 at 22:22
  • 1
    You need to read some basics of [HTML](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Introduction)... – Teemu Feb 15 '14 at 22:39

1 Answers1

1

Write the code in a simple notepad or wordpad file (TextEdit for Mac), and then save it with a .html extension. Now when you open it, it should open in your browser by default. Be sure to properly enclose your javascript in <script> tags.

TonyArra
  • 10,607
  • 1
  • 30
  • 46