tubeshowcase●1,669,063 videos♡ My collection 0
← Learn to Code

Learn to Code15:34

14.3: Dynamic Text (contenteditable attribute) - Hamilton Lottery Simulator with p5.js

The Coding Train ↗

From the creator

In this video, I look at how you can make the content of a written webpage dynamic. The "contenteditable" attribute is used to make a number editable by a user. The "input" event is used to show how other values on the page can change as the user edits the page. Source code: https://github.com/shiffman/hamilton-lottery-simulator website: http://shiffman.github.io/hamilton-lottery-simulator/ Contact: https://twitter.com/shiffman Learn JavaScript basics: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA Learn HTML / CSS basics: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bI1SlcCRfLH79HZrFAtBvX Working with Data / APIs: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6a-SQiI4RtIwuOrLJGnel0r Help us caption & translate this video! http://amara.org/v/QbtB/ 📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

Published 2016-04-08 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code