Programming/JavaScript 0 (16) 썸네일형 리스트형 WEB2 JavaScript - 12. Selecting a tag to control - C만 대문자로 써야하는 규칙이 있음 - backgroundColor = 바탕색 셋팅 - 밑에 그냥 color = 글자색 셋팅 youtu.be/5tqfbgfA1LY WEB2 JavaScript - 8. Controlling a Web Browser youtu.be/S62m_ddSls4 WEB2 JavaScript - 7. Variables and Assignment Operators The var statement declares a variable. Variables are containers for storing information. Creating a variable in JavaScript is called "declaring" a variable: var carName; After the declaration, the variable is empty (it has no value). https://www.w3schools.com/JSREF/jsref_var.asp youtu.be/absJhWQAS40 WEB2 JavaScript - 6. Data types - Strings and Numbers String length The length property of a String object contains the length of the string, in UTF-16 code units. length is a read-only data property of string instances. The toUpperCase() method returns the calling string value converted to uppercase (the value will be converted to a string if it isn't one). https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toU.. WEB2 JavaScript - 3. HTML meets JS: Console The console. log() is a function in JavaScript which is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user. Syntax: console. https://www.geeksforgeeks.org/javascript-console-log-with-examples/#:~:text=The%20console.,console. youtu.be/-VKIqaEdDVU WEB2 JavaScript - 4. HTML meets JS: Event JavaScript's interaction with HTML is handled through events that occur when the user or the browser manipulates a page. When the page loads, it is called an event. When the user clicks a button, that click too is an event. Other examples include events like pressing any key, closing a window, resizing a window, etc. https://www.tutorialspoint.com/javascript/javascript_events.htm youtu.be/-hdtrR.. 이전 1 2 다음