Answer the following questions with your group:
- How do you link a JavaScript file to an HTML document?
- How do you link a CSS file to an HTML document?
- What are the roles of HTML, CSS, and JavaScript on a webpage?
- What is the DOM? How is it related to HTML, CSS, and JavaScript?
- How does HTML get rendered into DOM?
- What are elements?
- What are attributes in HTML?
- How can we interact with HTML?
How do you link a JavaScript file to an HTML document?
<script>
tag with thesrc
attribute, like this:How do you link a CSS file to an HTML document?
<link>
tag with thehref
attribute andrel="stylesheet"
, like this:What are the roles of HTML, CSS, and JavaScript on a webpage?
What is the DOM? How is it related to HTML, CSS, and JavaScript?
How does HTML get rendered into DOM?
What are elements?
What are attributes in HTML?
How can we interact with HTML?