Web Programming 썸네일형 리스트형 AJAX & Promise & Fetch API - AJAX stands for Asynchronous JavaScript and XML. - AJAX is not a technology in itself, but the use of XMLHttpRequest to communicate with servers. - Using AJAX, we can update web pages asynchronously, meaning updating parts of a page without reloading the whole page. - This concept allows apps to be faster and more responsive to user actions. - By creating a XMLHttpRequest object which manages .. 더보기 HTML Document Object Model(DOM) & JavaScript Events - The Document Object Model (DOM Model) is the standard object model and API for HTML. - An object model for HTML defines elements as objects in an object hierarchy, properties for all HTML elements, methods for all HTML elements, and events for all HTML elemnts. - An API for JS can add/change/remove HTML elements/attributes/events and CSS styles. - When a web page is loaded, a browser creates a.. 더보기 JavaScript Syntax(2) - Modules in JavaScript are called Functions, and pre-defined functions that belong to objects are called Methods. - Like def in Python, we should explicitly write function when defining a function in JS. - Like C++, it doesn't matter where you define your function. (It's okay to define it on the bottom) - Like C++, there exist two ways to pass parameters, 'Pass-by-value', and 'Pass-by-reference.. 더보기 JavaScript Syntax(1) - JavaScript unlike HTML, CSS is a programming language that enhances functionality and appearances of Web pages. - JavaScript is the standard of client-side scripting languages and makes web pages more dynamic and interactive. - Like CSS, programmers could write JS code inside the HTML file withing the tag, or create a separate js file and link it. - We should use the second method, because pro.. 더보기 CSS Syntax(2) - There exists various style properties that could be applied to an element. ex1) text-shadow property : adds text shadow effect to any text. - Has 4 values, 'horizontal offset', 'vertical offset', 'blur radius', 'color'. - right, down direction has positive values in horizontal and vertical offset. ================================================================================================ .. 더보기 CSS Syntax(1) - A browser applies the default style to HTML elements. - To decide the style of a webpage, we use Cascading Style Sheets(CSS), which separate the structure from presentation. - There exists three ways to apply style to a HTML element. - The first way is 'Inline Styles', which is specifying the formatting information in the element tag. - The second way is 'Embedded Style Sheets', which embeddin.. 더보기 HTML Syntax(2) - There are various types of available within the tag. ex1) => color type input enables use to enter a color => autofocus attribute automatically gives focus to the input element. Therefore, only one input element on a form can use autofocus. ex2) => date type input display a text field to enter date or display a calender to choose a date. ex3) => email type input makes user to enter an email ad.. 더보기 HTML Syntax(1) - HTML stands for HyperText Markup Language. It is not a Programming Language :) - It is used for Content, Structure, but not Formatting. - Examples of contents of a document could be text, graphics, animations, audios and videos. - html section enclosed head and body section. - head section contains information about a document. - body section contains a page's content. - tag helps search engin.. 더보기 이전 1 다음