{"id":19795302,"url":"https://github.com/kpwithcode/99lines2","last_synced_at":"2025-07-06T01:33:56.414Z","repository":{"id":101881244,"uuid":"157609239","full_name":"KPWithCode/99Lines2","owner":"KPWithCode","description":"Building on the 99 Lines of Code Lab","archived":false,"fork":false,"pushed_at":"2018-11-18T02:15:19.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T04:49:21.996Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KPWithCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-14T20:50:08.000Z","updated_at":"2018-11-18T02:15:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"41d068fb-0c1c-40b7-92a1-d086afe82ea7","html_url":"https://github.com/KPWithCode/99Lines2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPWithCode%2F99Lines2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPWithCode%2F99Lines2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPWithCode%2F99Lines2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPWithCode%2F99Lines2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KPWithCode","download_url":"https://codeload.github.com/KPWithCode/99Lines2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241137300,"owners_count":19916099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T07:15:58.807Z","updated_at":"2025-02-28T10:22:13.395Z","avatar_url":"https://github.com/KPWithCode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Info\nThis lab consists of two parts\nIn this second iteration you will be transforming part 1 of the lab\nYou should copy your files from part 1 and paste them along with this README file into a new folder linked to a new github repository\n## New Objectives\nPut a button in the HTML that says Sing!\nStepping Stone: When you click the button, all the console.log statements from yesterday should happen. They SHOULD NOT happen before the button is clicked.\nWhen you have the button setup and working correctly as described, then:\nDelete the div with class friend and the headings and paragraphs it contains from your html file\nGo to your code where you are \"singing the song\" and accomplish the following using DOM:\nFor every one of your friends, create a div with class friend\nPut an h3 containing your friend's name in the div\nThen, instead of using console.log to put the song lyrics in the console, create a paragraph for each song lyric line and put that paragraph in the friend div.\nTo Recap:\nWhen you have made these modifications, the page should start out just showing a button labeled \"Sing!\"\nNothing will be logged to the console\nClicking the button will cause 5 div elements with class name friend to be added to the page, one for each of your friends\nEach div contains a friend's name as an h3 and 99 paragraphs, each one representing a lyric line that you previously were logging to the console in part 1 of this lab.\n## Hints\nYou will be using DOM functions to complete this portion of the lab\nRemember that elements can be added to other elements\ndocument.body.appendChild(someElement);\nsomeOtherElement.appendChild(anotherElement);","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpwithcode%2F99lines2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpwithcode%2F99lines2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpwithcode%2F99lines2/lists"}