CodingTrain / CodingTrain/Suggestion-Box
CreateP is not defined
- Dominant language
- No language data
- Stars
- 570
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.