Computer science

Web Programming ๐ŸŒ/Front-End ๐Ÿฆธ๐Ÿป‍โ™‚๏ธ

Position of Elements, DOM family in Javascript, Apr/5/2023

Today, I leanred is about the element postition in Javascript. In the Javascript, the posisiton property is used to specify the type of positioning. absolute: The element is removed from normal flow and positioned in relation to its nearest positioned ancestor (if no positioned ancestor, then in relation to the browser window). fixed: The element is fixed in a specific position in the window eve..

Web Programming ๐ŸŒ/Front-End ๐Ÿฆธ๐Ÿป‍โ™‚๏ธ

Modify DOM in Javascript, Apr/4/2023

Modifying the DOM Changing an Element's style Changing the Content of any given element. DOM manipulation Methods How can we change an element's style?? The first method is by directy change the properties of the style property for that element. Here is the example: The second method is by changing its class using the className or classList properties. Like this: There was an exercise to get use..

Web Programming ๐ŸŒ/Front-End ๐Ÿฆธ๐Ÿป‍โ™‚๏ธ

Javascript DOM, Apr/3/2023

What is "DOM" in javascript?? ๐Ÿคจ The DOM is an abstract model that defines the interface between HTML documents and application programs. An API What I understand is that HTML properties can be used as values in Javascript. In this picture, we can see the "type" and "address" are the values in Javascript. There is the picture like tree to represent the structure of DOM: I can see the inheritance ..

Computer Science ๐ŸŒ‹/Network Programming ๐Ÿ›ฐ๏ธ

DHCP, Apr/3/2023

How to assign an IP address to a host? 1. Manually: hard-coded by system admin in a file Windows: control-panel -> networking -> configuration -> TCP/IP -> properties. UNIX: /etc/rc.config 2. Automatically: DHCP: Dynamic Host Configuration Protocol DHCP is a plug and play protocol: a node can dynamically obtain an IP address when joining the network and release the IP address when leaving the ne..

KB0129
'Computer science' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก (2 Page)