This online course provides instructions on using JavaScript to create a Lorem Ipsum generator application and to build out pagination for loading API data. First, an explanation of Lorem Ipsum is provided and the setup for creating the generator is detailed. Several JavaScript functions and methods such as event listener, math random and query selector are employed throughout this course. You will learn to select page elements that are available within the DOM, add event listeners for user interaction and randomize content within an array using JavaScript. You will see how to use string methods and manipulate string data, and the steps to capitalize strings. You will learn the instructions on how to build Regex through a reference website and use them within JavaScript.
Throughout this course, you will learn to work with arrays extensively, mainly using JavaScript. In the Lorem Ipsum generator creation process, you will see how to convert data file contents into arrays and output them as sentences and paragraphs. And in the pagination build, you will learn to output array API data on the page. In content pagination, you will first discover the setup structure that is required to build it out. Then, you study how to make URL endpoint connections, conduct URL fetch requests, and launch HTTP servers locally. You will learn more than one server setup option that you can then choose from, should you decide to build your own. Discover how to create next and previous page buttons, and how to load and update API content by page number. Throughout this course, you will be learning how to work with various JavaScript elements such as ternary operators and conditional statements.
Explanations and step-by-step demos are provided for every code example that is included in this course. On-screen definitions referencing the Mozilla Developer Network website are given for crucial functions and methods as well. After successfully completing this course, you will have all the necessary knowledge needed to create a functioning Lorem Ipsum Generator app that accepts user input for selecting the number of words and paragraphs. You will also have the ability to build dual-versioned pagination, with the first containing functioning next and previous page buttons, and a ‘load more’ button that loads additional content to the bottom of existing content. This course is video-based and the source code from the videos is included as well and can be found in the course resources. The assessment will challenge your understanding of the course material, further enhancing your learning experience. So enroll now to gain valuable programming knowledge.
What You Will Learn In This Free Course
View All Learning Outcomes View Less All Alison courses are free to enrol study and complete. To successfully complete this course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this course, you have the option to acquire an official , which is a great way to share your achievement with the world.
Your Alison is:
- Ideal for sharing with potential employers
- Great for your CV, professional social media profiles and job applications.
- An indication of your commitment to continuously learn, upskill & achieve high results.
- An incentive for you to continue empowering yourself through lifelong learning.
Alison offers 3 types of s for completed courses:
- Digital : a downloadable in PDF format immediately available to you when you complete your purchase.
- : a physical version of your officially branded and security-marked
All s are available to purchase through the Alison Shop. For more information on purchasing Alison , please visit our FAQs. If you decide not to purchase your Alison , you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Account Settings.