web technologies Flashcards
1
Q
describe what is meant by javascipt
A
javascript is a programming language in a web browser
that can be embedded into html with tags to add interactivity to a page
2
Q
Explain why it is usually the case that JavaScript is interpreted rather than compiled.
A
javascript is likely to be run on a variety of machines with different processors Compiled code is machine dependant whereas interprers run on high level code
3
Q
Describe one advantage of storing the CSS in an external file rather than it being embedded within HTML files
A
Changes can be made to an external style sheet and affect the site , this saves time and ensures consistency. Stylesheet can be changes for different themes