Should I save the file as js file or HTML

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

```

Hi friends

I am new to Javascript after finishing HTML and CSS. I do offline exercises while doing the online courses in order to get more familiar. hence I wish to create an offline file to experiment with js codes that are learnt online. How do you do this. For example for html and css I created html and css files and did some codes on them.
thanks in advance

<do not remove the three backticks above>

It depends if you having an external JS file or you have your JS code in script tags inside your HTML ?

If its external then .js
if its in HTML then .html

Thanks zainabrawat for lightening response - you guys are super cool, helpful and what not.
I have copy pasted your reply into my reference files. Will give a try to both stuff. Was just wondering why this was not included in the first lessons. But never mind you people are doing a lots of handholding. Thanks and thanks.

2 Likes

Why not just bookmark her reply here on Codecademy Discuss?
                                                             

Thanks buddy. Will do

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.