Tag

#CDATA

37 posts

Renewal·서른의 생활코딩

Sample source 3) Basic JavaScript document structure ( string object _ applied 2 )

This time, let's run an example that uses the methods on the string object to play with text. Compared to the earlier examples that checked emails or

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (String Object — Application 1)

This time, let's briefly test a resident registration number validation program — something commonly seen around us. <!DOCTYPE html > < html > < head

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure (string object)

This time let's look at the string object. A string is a sequence of characters. In other words, by using the string object and the methods it owns, y

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure ( screen object )

This time, there is JavaScript code that checks the monitor environment used by the user or developer, so let's look at the code that allows you to ch

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Number Object — Application 3)

The code just written above seems more convenient for the user to play the game.. But the code is a bit long. ( Relative to what is needed...) Using t

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Number Object — Application 2)

Honestly... the previous example is hard to call a game... A game where you have to type is a bit... So I made it in a button format. My approach was.

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Number Object — Application 1)

Let's build a rock-paper-scissors game you can play against the computer. First, here's the model(?) answer. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Number Object — Lotto Generator)

Creating a lottery number generator that displays six numbers. <html xmlns=" http://www.w3.org/1999/xhtml " xml:lang="ko" lang="ko"> <head> <meta http

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Number Object)

A static object, Math, has many methods. Let's experience the methods that control various properties of numbers through examples. <html xmlns=" http:

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Function Object)

Function declarations are done as follows. 1) Function declaration inside the header. function 생성자 함수명(매개변수1,매개변수2) 2) Object creation inside the body

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) Basic JavaScript document structure ( Date object _ applied )

This time there's a problem that may look easy at first, but as soon as you actually try to write the program, you get stuck. It's the day of the week

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Date Object)

This time let's build an object that represents the date It keeps moving without rest, and the developer or designer can't define it manually every ti

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Arrays Part 2)

This is a three-stage combo example about arrays. 문제는 이고, the first combo is in this color, : the code I first wrote when approaching this... this is

Apr 10, 2011·2 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basic Document Structure (Objects and Arrays)

Java is an object-oriented language. And JavaScript is an object-based language. So what exactly is an object? Here is my own interpretation. Objects.

Apr 10, 2011·2 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure (user-defined function _ parameter _ application)

Let's apply parameters once. Applying it to the background-color-changing example we showed earlier might be even more helpful. If you run the example

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure (user-defined function _ parameters)

If, through user-defined functions, we learned how to walk on our own rather than ride a stroller that the program gives and pulls along, this time it

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basics (User-Defined Functions Applied)

This time it's a more advanced example. Each time you press a button, it changes the background color. A user-defined function is linked to a button c

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 3) JavaScript Basics (User-Defined Functions 2: Global Variables Applied)

Earlier, when we covered local variables, how do you make a variable declared inside a function usable elsewhere? Do you remember? The answer is in th

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure ( user-defined function 2 _ local variable_application )

This proves whether or not it's a lie that local variables can only be executed inside the function where they are defined, and not in other functions

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure ( user-defined function 2 _ local variable )

Let's press the button This time, the number doesn't increase. Each time you press the onclick button, in the alert(i) popup window shown to the user,

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure (user-defined function 2 _ global variable)

If in the first user-defined function example we saw the whole picture, this time let's dig a little deeper into variables, the actual tools used in f

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) Basic JavaScript document structure ( user-defined functions 1 )

If built-in functions are the ones JavaScript defines by default, user-defined functions are functions made by the user, for the user. When programmin

Apr 10, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 3) JavaScript basic document structure (built-in functions)

Sample source 3) JavaScript basic document structure (built-in functions) - First, a quick recap of last time,,, - break statement: when the initial c

Apr 9, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 2) JavaScript Basics (Exercise 2 with jQuery 02)

js 2_5 예제2_BY jquery 02 예제 2를 요즘 잘나간다던 jquery로 구현한다면? 2 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>예제2_BY jquery 02</title> <script

Apr 8, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 2) JavaScript Basics (Exercise 2 with jQuery 01)

js 2_5 예제2_BY jquery 01 예제 2를 요즘 잘나간다던 jquery로 구현한다면? 1 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title></title> <script type="text/javas

Apr 8, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 2) JavaScript Basics (Exercise 2)

문제 : 1~25까지의 연속된 숫자로 되어있는 5*5 테이블 만들기 +5의배수에만 빨간색 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xht

Apr 8, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 2) JavaScript Basics (Exercise 1)

문제 1 : 1~25까지의 연속된 숫자로 되어있는 5*5 테이블 만들기 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transi

Apr 8, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample source 2) Basic JavaScript document structure ( continue and break statements )

continue and break Various ways to handle exceptions... Honestly..I dozed off a bit during this part, so this is the only example I have.. If anyone h

Apr 8, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 2) JavaScript Basics (While Loop)

while문 1. A while loop is essentially a for loop spelled out line by line. (purely personal opinion..) Why? If you read the source carefully, the co

Apr 8, 2011·2 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 2) JavaScript Basics (Loops)

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px} p.p3 {margin

Apr 8, 2011·4 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 2) JavaScript Basics (Switch-Case Statement)

switch-case statement 1) A script that reacts to a specific value entered by the user or a value set initially. The example below is the first one, so

Apr 8, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 1) JavaScript Basics (else-if Statement)

else if statement Example 7) Basic form <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transi

Apr 5, 2011·1 min·#//#CDATA#document.write
Renewal·서른의 생활코딩

Sample Source 1) JavaScript Basics (if and if-else Statements)

if statement Example 5) <html xmlns=" http://www.w3.org/1999/xhtml " xml:lang="ko" lang="ko"> <head> <meta http-equiv="Content-Type" content="applicat

Apr 5, 2011·2 min·#//#CDATA#document.write
Renewal·서른의 생활코딩

샘플소스1) javascript 기본 문서구조 ( 단항, 대립, 문자, 비교, 산술 연산자 )

<!-- /* Font Definitions */@font-face {font-family:Times; panose-1:2 0 5 0 0 0 0 0 0 0; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable;…

Apr 5, 2011·2 min·#//#CDATA#document.write
Renewal·서른의 생활코딩

Sample Source 1) JavaScript Basic Document Structure (document.write Output)

The document.write method for output Example 3) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml

Apr 5, 2011·1 min·#//#CDATA#document.write
Renewal·서른의 생활코딩

Sample Source 1) JavaScript Basic Document Structure (Prompt Window Method)

A method that opens a popup so the user can enter a value prompt window method Example 2) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E

Apr 5, 2011·1 min·#//#CDATA#JavaScript
Renewal·서른의 생활코딩

Sample Source 1) JavaScript Basic Document Structure (Comments //)

I am thinking about putting together a study page on JavaScript. Foreword) Majored in fashion and Western painting, then worked in sales and planning,

Apr 4, 2011·3 min·#//#CDATA#JavaScript