1. Read the assignment carefully before shaking hand.
2. If you are comfortable with it, then we have a deal.
3. Create an account and work space in cloud9. The link is: https://ide.c9.io
4. In cloud9, particularly in your work space, create a folder named java script. Place all the work you do for this assignment in this folder.
5. Use the GitHub Markdown API to perform the following functionality for users. The user types in markdown into a text area element. When the user clicks the transform button, JavaScript submits the text to the raw mode GitHub markdown API and renders the result. Make requests to the following url:https://api.github.com/markdown/raw.
6. Once you finish the assignment, Share your work space with me, so that I can evaluate your work. Do not forget to give me R/W permission.
7. I will review it and then pay you the Full payment.
8. NOTE: This assignment is subject to review and may reject if there is any errors . So YOU MUST read the instruction carefully before shaking hand.
If you need further information about this assignment, do not hesitate to contact me immediately
Last Completed Projects
| topic title | academic level | Writer | delivered |
|---|
jQuery(document).ready(function($) { var currentPage = 1; // Initialize current page
function reloadLatestPosts() { // Perform AJAX request $.ajax({ url: lpr_ajax.ajax_url, type: 'post', data: { action: 'lpr_get_latest_posts', paged: currentPage // Send current page number to server }, success: function(response) { // Clear existing content of the container $('#lpr-posts-container').empty();
// Append new posts and fade in $('#lpr-posts-container').append(response).hide().fadeIn('slow');
// Increment current page for next pagination currentPage++; }, error: function(xhr, status, error) { console.error('AJAX request error:', error); } }); }
// Initially load latest posts reloadLatestPosts();
// Example of subsequent reloads setInterval(function() { reloadLatestPosts(); }, 7000); // Reload every 7 seconds });

