Js Flashcards
1
Q
What is js
A
JavaScript is used to add behavior to web pages.
JavaScript is most commonly found adding behavior to web pages, but is also used to script applications like Adobe Photoshop, OpenOffice and Google Apps, and is even used as a server-side programming language.
2
Q
explain how js works
A
Browsers begin executing JavaScript code as soon as they encounter the code in the page.
3
Q
what tag you need?
A
4
Q
console.log
A
to inspect the output of our code and debug i
5
Q
where do you put
A
inside the body and head
6
Q
Write a code to separate
A
<body>
</body>