Project List
·
Report Bug
·
Request Feature
we are using npm package called lorem ipsum
to generate the text. you need to download lorem ipsum
to makesure the program works in your pc.
I learned about importing node modules into javascript.
Instead of creating a textarea
element, I can make an element in the index.html
file and change the textContent
of that element
.
This would reduce code
let loremcontent = document.createElement("textarea");
loremcontent.textContent = content;
/*clearing the previous content from the div*/
loremdiv.textContent = "";
loremdiv.appendChild(loremcontent);
we can replace the above snippet with
let loremcontent = document.getElementById("loremcontent");
loremcontent.textContent = generatedContent;
Project Information
Tier: 1-Beginner
Lorem Ipsum is simply dummy text of the printing and typesetting industry. This app should generate passages of lorem ipsum text suitable for use as placeholder copy in web pages, graphics, and more.
- User can type into an input field the number of paragraphs of lorem ipsum to be generated
- Use can see the generated paragraphs of lorem ipsum and is able to copy them
You can track your progress by cloning this Trello Board