This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span>This is not red.</span> | |
<label for="">123</label> | |
<input> | |
<span>And here is a span span!</span> | |
<code>Here is some code.</code> | |
<span>And here is a red span!</span> | |
<code>More code...</code> | |
<span>And this is a red span!</span> | |
<label for="">123</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<header>header</header> | |
<nav> | |
<h1>計分</h1> | |
<div>分數:{{score}}</div> | |
<div>目前題數:{{ currentStep }}</div> | |
<div>目前難度:{{ currentType }}</div> | |
</nav> | |
<main> | |
<div v-for="item in questions" :key="item.id" class="box"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color c1 = color(255, 0, 0); // 宣告顏色 | |
color c2 = color(0, 127, 0); | |
color c3 = color(0, 0, 255); | |
color c4 = color(255, 255, 0); | |
color c5 = color(255, 0, 255); | |
color c7 = color(255); // 橡皮擦顏色 | |
color c_pen = c1; // 宣告畫筆顏色初始值 | |
int w = 5; // 筆畫粗細 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size(a, b); // 畫布大小設定,a 為長邊,b 為寬 | |
background(x, y, z); // 畫布色, xyz 分別為三原色 RGB | |
nostroke(); // 去掉圖案的邊線 | |
fill(x, y, z, u); | |
// 讓所銜接的圖形指令上色與其透明度 xyz 分別為 RGB 三原色,u 為透明度 | |
ellipse(x, y, w, h); | |
// 指定 x,y 座標為作圖中心,以 w 為長軸、h 為短軸做橢圓或圓形 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
文字上传测试 |