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?
1 we use the script tag at the end of the body
2 we use the self closing link tag in the head
3 Html is the structure and css add the visual appearence and js interactivity
4 Dom is document object model programming interface that allows us to create, change, or remove elements from the document. we can manipulate the page using html css and js
5 the DOM turns each HTML element into a node in its tree while keeping the structure of the elements, going from the global which is the parent element and nested elements as child element
6 HTML elements are the building blocks of web pages, represented by tags like and
7 Attributes in HTML provide additional information about an element and are defined within its opening tag to modify its behavior or appearance
8 Interacting with HTML involves using JavaScript to manipulate or modify the content and behavior of the webpage dynamically. One way to interact with HTML is by using the Document Object Model (DOM) API in JavaScript.