• +91 9723535972
  • info@interviewmaterial.com

JavaScript Framework Interview Questions and Answers

Question - In how many ways a JavaScript code can be involved in an HTML file?

Answer - There are 3 different ways in which a JavaScript code can be involved in an HTML file: • Inline • Internal • External An inline function is a JavaScript function, which is assigned to a variable created at runtime. You can differentiate between Inline Functions and Anonymous since an inline function is assigned to a variable and can be easily reused. When you need a JavaScript for a function, you can either have the script integrated in the page you are working on, or you can have it placed in a separate file that you call, when needed. This is the difference between an internal script and an external script.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners