CodingTrain / CodingTrain/Suggestion-Box
CreateP is not defined
- 主要言語
- 言語のデータがありません
- スター
- 570
- フォーク
- 85
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I am learning the html_css based on your tutorial. I use Atom as my editor. I put the p5.js, p5.dom.js, and p5.sound.js into one folder called libraries. And then put this folder and the index.html, the sketch into one folder called html_css_learning. However, when I write the code"createP("Your roll point is like below.");" , there is an error "CreateP is not defined". and "libraries/addons/p5.dom.js 404 (Not Found)"
I am new for programming. Please help!
**Here is my libraries.**
```html
body {padding: 0; margin: 0;}
This is my first website!
"Welcom to my website. I am looking forward to seeing how it goes!"
```
**This is the error.**
GET http://127.0.0.1:3000/html_1/libraries/addons/p5.dom.js 404 (Not Found)
Uncaught ReferenceError: createP is not defined
at setup (sketch.js:5)
at p5. (p5.js:46551)
at p5. (p5.js:46486)
at new p5 (p5.js:46775)
at _globalInit (p5.js:48785)
setup @ sketch.js:5
(anonymous) @ p5.js:46551
(anonymous) @ p5.js:46486
p5 @ p5.js:46775
_globalInit @ p5.js:48785
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
index.html と sketch.js から始め、libraries ディレクトリ下のスクリプトパスを、報告されている p5.dom.js の 404 と照らし合わせて確認します。参照されている p5 ライブラリが sketch.js より前に読み込まれることを検証します。完了の条件は、404 が解消され、setup 内で createP が ReferenceError なしに動作することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100