One Pager Cheat Sheet
- We will explore modifying and animating HTML elements and CSS styles with JavaScript code for creating user-engaging websites, and also learn about internet protocols and webservers to make them available on the internet.
- We can use
ID selectors(#symbol) andclass selectors(.symbol) inCSSto style individualHTMLelements assigned withIDsorclassesas attributes. - All HTML elements can have
idandclassattributes that can be used to target single or multiple elements for styling. - JavaScript is a
lightweight,text-basedprogramming language that adds interactivity to websites and requires the support of another language (HTML) for execution. - Linking a
<script>tag with an external JavaScript file is the most efficient way to add JavaScript code to an HTML page. - JavaScript allows users to interact with HTML elements by attaching JavaScript functions to create dynamic effects with the help of libraries.
- The
<link>tag is used toaddstylesheetsto anHTMLdocument, while the<script>tag is used to include a script, with thesrcattribute specifying the path to theJavaScriptfile. Websites are made available on the Internet through the use ofHTML, CSS and JavaScriptfiles, and the Internet retrieves these websites when an address is typed into the address bar of a browser.- Every website has a unique
IP addressthat is recorded in theDNSdirectory, which functions like a phone directory connecting domain names to their correspondingIP addresses, allowing the browser to look up and identify information according to the requested website address. - Using
Internet Protocolssuch as TCP, the browser builds a connection with a webserver using the correct IP address obtained from DNS to transfer information. - Browsers make an
HTTP requestto awebserver, which generates anHTTP response, allowing the browser to quickly display the requested webpage. - The process of loading a webpage is completed by a user's browser sending an
HTTP request, then receiving and displaying the webserver'sHTTP responsewith the requested content in milliseconds. - We explored the relationship between
browsersand the files that make up websites.


