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 write it in script tag in the body or we can write in the head.
2.we use a link tab in the head with href attrubute.
3. HTML is for structure and content, CSS for styling and javascript for functionality.
4.allows us to create, change, or remove elements from the document and DOM is used by CSS, HTML, JS to make the webpage functional.
5.when a webpage is loaded in a browser, the browser parses the HTML code and creates a DOM tree. DOM is the representation o f the HTML document as a tree structure of objects. where each element in the HTML code is represented as a node in the tree.
6.Elements are the bulding blocks of the HTMl document E.g (heading, paragraph and body).
7.It is additional piece of information for the elements provides extra details and functionality.
8.we can handle interaction using Javascript and modify the style with CSS.
Members:
Halwest Abubakir,
Mohammed Nazar,
Mawj M. Basheer,
Elaf Gardi.