Conversation
Deploying utcode-learn with
|
| Latest commit: |
0646d44
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://cbbf9b44.utcode-learn.pages.dev |
| Branch Preview URL: | https://rewrite-css-arrangement.utcode-learn.pages.dev |
3f0bd0b to
86bec36
Compare
b40ab58 to
4b0f703
Compare
4b0f703 to
cceb0dd
Compare
There was a problem hiding this comment.
Pull Request Overview
This pull request revises the CSS layout documentation (「CSS による配置」を改訂) by simplifying and reorganizing the content. The PR introduces a new, more streamlined tutorial focused on building pricing plan cards while teaching CSS layout fundamentals.
Key Changes:
- Creates new simplified CSS layout guide with step-by-step card building examples
- Removes the advanced "CSS arrangement" content (box model, positioning, grid)
- Adds multiple progressive code samples demonstrating width, border, padding, margin, flexbox, and responsive design
Reviewed Changes
Copilot reviewed 50 out of 80 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/2-browser-apps/05-css-layout/index.mdx | New tutorial teaching CSS layout through building pricing cards, covering width/height, borders, padding, margin, flexbox, and media queries |
| docs/2-browser-apps/05-css-layout/_samples/* | Multiple sample code directories added to demonstrate each concept progressively |
| docs/2-browser-apps/05-css-layout/final-image.png | Screenshot showing the completed pricing card layout |
| docs/2-browser-apps/05-css-arrangement/index.mdx | Previous advanced CSS content removed (box model, position, grid) |
| docs/2-browser-apps/05-css-arrangement/_samples/* | All previous sample code removed |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
docs/2-browser-apps/05-css-layout/_samples/media-query/index.html
Outdated
Show resolved
Hide resolved
docs/2-browser-apps/05-css-layout/_samples/media-query/index.html
Outdated
Show resolved
Hide resolved
|
(メモ) 演習問題と、コードブロックのハイライトの CSS 以外を一旦修正 |
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 50 out of 80 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7b743f7 to
d87255a
Compare
chvmvd
left a comment
There was a problem hiding this comment.
説明がわかりやすくかなり正確で非常に良いと思います!!!
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 62 out of 99 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
chvmvd
left a comment
There was a problem hiding this comment.
もう問題ないと思います!
難易度も適切で、説明もわかりやすく、問題と演習問題の例も素敵だと思います。
ありがとうございます。
chelproc
left a comment
There was a problem hiding this comment.
ありがとうございます!3桁カラーコードってあえて紹介しますかね??どちらかに揃えちゃっても良い気がします!
| ``` | ||
|
|
||
| :::tip[16進数カラーコード] | ||
| `#f0f0f0`や`#0d6efd`のように、6桁の英数字で色を指定する記法を16進数カラーコードと呼びます。左から順に2桁ずつが、それぞれ赤・緑・青の成分を16進数で表しています。 |
There was a problem hiding this comment.
これって正式な言葉でしたっけ?
「CSSでは、#記号に続く6桁の16進数で色を指定できます」とかの方が正確だったりしません??
There was a problem hiding this comment.
MDN ではあくまで CSS のデータ型の一つとして紹介されており「16進数カラーコード」という単語は出ていないので、確かに「16進数カラーコードと呼びます」という言い方は良くなさそうですね。
そのように修正します。
There was a problem hiding this comment.
3桁は紹介しなくてもいいかもしれませんね。
| この節では、CSSを使用してHTML要素のレイアウトを調整する方法を学びます。 | ||
|
|
||
| 例として、次のような料金プランを表すカードを作ることを目標に進めていきます。 |
There was a problem hiding this comment.
重箱の隅ですが、「例として」より言葉として適切かと!
| この節では、CSSを使用してHTML要素のレイアウトを調整する方法を学びます。 | |
| 例として、次のような料金プランを表すカードを作ることを目標に進めていきます。 | |
| この節では、次のような料金プランを表すカードを題材に、CSSを使用してHTML要素のレイアウトを調整する方法を学びます。 |
There was a problem hiding this comment.
そうですね、例ではなく題材が適切ですね!
|
|
||
|  | ||
|
|
||
| まずは、HTMLとCSSで料金プランのカードを作り始めてみます。 |
There was a problem hiding this comment.
冒頭の文との対応が浅い感じがあります! 最初の「幅と高さ」だけbeforeもafterもスクリーンショットがあるので、そのbeforeだけ冒頭におくとまとまりが良さそうです。
| まずは、HTMLとCSSで料金プランのカードを作り始めてみます。 | |
| まずは、次のような土台となるHTMLとCSSを用意します。ここから、各要素のレイアウトを調整していきましょう。 |
There was a problem hiding this comment.
before を導入部分で示すようにします!
「CSS による配置」で扱う内容を抜本的に見直し、例題のテーマも実用的なものに変更した
注意点