This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
Node.js: JavaScript(ECMAScript)のランタイム
React.js: フレームワーク
yarn: Node.jsに同梱されてるパッケージマネージャのnpmがひどいパフォーマンスなのに業を煮やしてFacebookが作ったやつ
This account is not set to public on notestock.
NodeとReactとyarnはPythonとFlaskとpipだよ(?)
マジでAPIでGETとPOSTするだけならhtmlファイルにscriptタグ書くだけでいいよ
<script>: スクリプト要素 - HTML: HyperText Markup Language | MDN
https://developer.mozilla.org/ja/docs/Web/HTML/Element/script
copilotが innerHTML を定時してきたけど,そういや innnerHTMLはやめとけって誰かが言っててたなと思って前のコード引っ張り出してきたら代わりに textContent 使ってた
Node.textContent - Web API | MDN
https://developer.mozilla.org/ja/docs/Web/API/Node/textContent#innertext_%E3%81%A8%E3%81%AE%E9%81%95%E3%81%84
>さらに、textContent を使用することで XSS 攻撃を防ぐことができます。
document.getElementById('documents').innerHTML = html;
ではだめで,
document.querySelector('.documents').innerHTML = html;
なら良いのがわかんねえなとぐぐっている
getElementById('value') と同じ結果を返してくれるのは querySelector('#value')
ドキュメントの中で1度しか出てこないものはid、複数回出てきうるものはclass
This account is not set to public on notestock.
idはidなのでuniqueだから一つしか必要ないものに使うとか、classは何度も再利用できるのでリストとして使うとか
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
花咲ガニの自販機登場 根室・納沙布岬 車中泊増加に対応(北海道新聞) - Yahoo!ニュース
https://news.yahoo.co.jp/articles/2e1bbd3ff7f4601b4ab8aefa193ba91145f92d07
花咲ガニの自販機は草ww……ん?納沙布?そんな攻めたことをしてるのは……?と思ったらやはり滝澤さんだったw(高校の時のPTA会長&一時期カニ屋のバイトさせてもらってた)
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.