Should I save the file as js file or HTML


#1


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


#2

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


#3

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.


#4

Why not just bookmark her reply here on Codecademy Discuss?
                                                             


#5

Thanks buddy. Will do


#6

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