|
| 1 | +{ |
| 2 | + "title": "Acrostic", |
| 3 | + "description": "In this coding challenge, I create an acrostic generator with the Wordnik API and p5.js. This challenge is part of my \"Programming with Text\" series.", |
| 4 | + "videoNumber": "73", |
| 5 | + "videoId": "jwoK5WKVXGw", |
| 6 | + "date": "2017-09-11", |
| 7 | + "languages": ["p5.js", "JavaScript"], |
| 8 | + "topics": ["Wordnik API", "acrostic", "text", "DOM elements", "poetry"], |
| 9 | + "canContribute": true, |
| 10 | + "relatedChallenges": ["37-diastic-machine", "84-word-definition-chrome-extension"], |
| 11 | + "timestamps": [ |
| 12 | + { "time": "0:00", "title": "Introduction" }, |
| 13 | + { "time": "0:25", "title": "What is an acrostic?" }, |
| 14 | + { "time": "2:45", "title": "On to the code" }, |
| 15 | + { "time": "3:00", "title": "Creating HTML DOM elements" }, |
| 16 | + { "time": "4:15", "title": "noCanvas()" }, |
| 17 | + { "time": "5:10", "title": "Selecting DOM elements with the p5.js select() function" }, |
| 18 | + { "time": "6:47", "title": "Writing the mousePressed() button handler" }, |
| 19 | + { "time": "7:19", "title": "Getting the word from the input element" }, |
| 20 | + { "time": "8:46", "title": "Creating a div element for each letter" }, |
| 21 | + { "time": "10:16", "title": "Using the Wordnik API to get a list of words" }, |
| 22 | + { "time": "17:18", "title": "Get a list of words for each letter" }, |
| 23 | + { "time": "18:09", "title": "Dealing with async requests and out-of-order responses" }, |
| 24 | + { "time": "20:26", "title": "Picking random words from the lists" }, |
| 25 | + { "time": "22:01", "title": "Put the words in the correct divs" }, |
| 26 | + { "time": "25:24", "title": "Wrapping up and variation ideas" } |
| 27 | + ], |
| 28 | + "codeExamples": [ |
| 29 | + { |
| 30 | + "title": "Updated source code", |
| 31 | + "description": "An updated version of the challenge using the Datamuse API.", |
| 32 | + "image": "img.jpg", |
| 33 | + "urls": { |
| 34 | + "p5": "https://editor.p5js.org/codingtrain/sketches/48yinqNpT" |
| 35 | + } |
| 36 | + }, |
| 37 | + { |
| 38 | + "title": "Original source code", |
| 39 | + "description": "Note that the Wordnik 'word search' API endpoint is not currently available.", |
| 40 | + "image": "img.jpg", |
| 41 | + "urls": { |
| 42 | + "p5": "https://github.com/CodingTrain/Coding-Challenges/tree/main/073_Acrostic/P5" |
| 43 | + } |
| 44 | + } |
| 45 | + ], |
| 46 | + "groupLinks": [ |
| 47 | + { |
| 48 | + "title": "References", |
| 49 | + "links": [ |
| 50 | + { |
| 51 | + "icon": "🔗", |
| 52 | + "title": "ECMAScript on Wikipedia", |
| 53 | + "url": "https://en.wikipedia.org/wiki/ECMAScript" |
| 54 | + }, |
| 55 | + { |
| 56 | + "icon": "🔗", |
| 57 | + "title": "Fun Fun Function YouTube Channel", |
| 58 | + "url": "https://www.youtube.com/@funfunfunction" |
| 59 | + }, |
| 60 | + { |
| 61 | + "icon": "🔗", |
| 62 | + "title": "Wordnik", |
| 63 | + "url": "https://www.wordnik.com/" |
| 64 | + }, |
| 65 | + { |
| 66 | + "icon": "🔗", |
| 67 | + "title": "Datamuse word search API", |
| 68 | + "url": "https://www.datamuse.com/api/" |
| 69 | + }, |
| 70 | + { |
| 71 | + "icon": "🔗", |
| 72 | + "title": "Acrostic on Wikipedia", |
| 73 | + "url": "https://en.wikipedia.org/wiki/Acrostic" |
| 74 | + }, |
| 75 | + { |
| 76 | + "icon": "🔗", |
| 77 | + "title": "Programming from A to Z course", |
| 78 | + "url": "https://shiffman-archive.netlify.app/a2z/" |
| 79 | + }, |
| 80 | + { |
| 81 | + "icon": "🔗", |
| 82 | + "title": "Visual Studio Code", |
| 83 | + "url": "https://code.visualstudio.com/download" |
| 84 | + } |
| 85 | + ] |
| 86 | + }, |
| 87 | + { |
| 88 | + "title": "Videos", |
| 89 | + "links": [ |
| 90 | + { |
| 91 | + "icon": "🎥", |
| 92 | + "title": "FunFunFunction's video on let/var/const", |
| 93 | + "url": "https://youtu.be/sjyJBL5fkp8" |
| 94 | + }, |
| 95 | + { |
| 96 | + "icon": "🎥", |
| 97 | + "title": "My Video on Closures", |
| 98 | + "url": "https://youtu.be/-jysK0nlz7A" |
| 99 | + } |
| 100 | + ] |
| 101 | + } |
| 102 | + ], |
| 103 | + "credits": [ |
| 104 | + { "title": "Editing", "name": "Mathieu Blanchette" }, |
| 105 | + { "title": "Animations", "name": "Jason Heglund" } |
| 106 | + ] |
| 107 | +} |
0 commit comments