0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

お天気アプリ#17

0
Posted at

今日やったこと

・画像登録のコードのロジック理解、書き直し
・ホーム画面のスタイリング

学んだこと

・accept="image/*"で選択できるファイルの形式を画像ファイルに制限できる

・FileReaderは選択したファイルをjsに読みこんで使えるようにする仕組み

reader.readAsDataURL(file);

↑FileReaderを動かすための命令

const file = event.target.files[0];

↑選択したファイルのデータを取得するためのコード

次やること

・一覧画面のスタイリング

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?