홈 › Components › Free Response (자유 답변) › 화면 6
화면 6. Input.submitLabel [sink]
원본: Computation Layer 문서(Free Response (자유 답변)) · Try It (원본 화면)
| 화면 번호 | 6 / 9 |
|---|---|
| 문서 항목 설명 (원문) | submitLabel Specify a label for the submit button. |
1. 화면 캡처 (빨간 번호 = 아래 표의 번호)
- Please type your name.
2. CL이 입력된 곳
| 번호 | 이름 | 종류 | CL 코드 원문, 번역, 설명 |
|---|---|---|---|
| 1 | 레이블 없는 메모 | 메모 | # This code imports the value a student typed into # an input called “nameInput3” and assigns it to a # variable called “name”. ▷ 이 코드는 학생이 "nameInput3"이라는 입력칸에 입력한 값을 가져와 "name"이라는 변수에 정한다. name = nameInput3.content ▶ 변수 name은 nameInput3에 학생이 입력한 값( |
| 2 | nameInput3 | 자유 답변 | # Changes the text on the "submit" button. # Here, double quotation marks are used to indicate # that 'Submit Name' is a string. ▷ "submit" 버튼의 글자를 바꾼다. 여기서는 큰따옴표가 'Submit Name'이 글자(string)임을 나타내는 데 쓰였다. submitLabel: "Submit Name" ▶ 자유 답변의 제출 버튼 라벨(submitLabel)은 "Submit Name"(이름 제출)로 한다. |