8. WHAT IS CSS?
Cascading Style Sheets
is a style sheet language used for describing the presentation of a document written in a markup language like
HTML.
12. HOW DOES JAVASCRIPT WORK?
A brief explanation of Client Side and Server Side.
▪ Client Side 🡪 script is run on client’s browser, and doesn’t need web server to run.
▪ Server Side 🡪 script is processed on a web server, and is served back at the user to generate a dynamic html
page for the client.
13. HOW DOES JAVASCRIPT WORK?
Web
Server
Web Browser
(Client Side JS is
processed here)
14. HOW DO WE APPLY JAVASCRIPT?
▪ There are 3 ways to apply Javascript in your web app:
▪ Internal JavaScript
Written in the .html file within the script tag
<script>
function sayHiConsoleLog()
{
var button = document.getElementById(‘helloBtn’);
button.onclick = function () {
console.log(‘Hello World’);
}
}
</script>
▪ External JavaScript
Written in a external .js file
<script src="script.js"></script>
▪ Inline JavaScript handlers
Written inline in html tags (script here usually calls functions)
<button onclick=“sayHiConsoleLog()">Click me!</button>