|
Post by Rose@Paperclip! on Aug 5, 2015 17:21:18 GMT -5
|
|
|
Post by Cyove on Jan 12, 2016 9:11:57 GMT -5
|
|
|
Post by StoryMaker on Sept 1, 2016 16:18:23 GMT -5
$(document).ready(function() { //content selectors var main = document.getElementById('mainContent'); var main = $('#mainContent'); //button selectors var button = document.getElementsByClassName('buttonStyle'); //returns array var button = document.querySelector('.buttonStyle'); //returns element var button = $('.buttonStyle'); //returns array console.log( button ); // button[0].textContent = 'changed'; var url = '//staging-weekendcollective.kinsta.com/wp-json/wp/v2/posts'; var settings = { 'contentType': 'text/plain', 'method': 'GET', } $.ajax(url,settings).done(function(response) { console.log( response ); $(response).each(function(index, post) { console.log(post.excerpt.rendered); //Talia, you can just put this inside the next block so right before line 23. No need for multiple .each() calls. $(response).each(function(index, post) { console.log(post.title.rendered); //$.each(function(index, post) { // console.log(post.title.rendered); }); }); }); // $.each(); HINT WOW LOOK AT THIS BIG HINT USE ME });
|
|
|
Post by Buck on Sept 2, 2016 10:54:28 GMT -5
|
|
|
Post by jas on Sept 2, 2016 20:53:59 GMT -5
|
|
|
Post by Rose@Paperclip! on Oct 13, 2016 5:44:32 GMT -5
|
|
|
Post by Sasha on Nov 5, 2016 5:27:21 GMT -5
|
|
|
Post by RebeccaMonkey on Nov 5, 2016 23:42:18 GMT -5
becca harsh af
|
|
|
Post by Cyove on Nov 11, 2016 5:00:47 GMT -5
|
|
|
Post by Buck on Nov 11, 2016 10:40:10 GMT -5
Available: 1, 2, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 21, 22, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 37, 39, 40, 42, 43, 45, 46, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 86, 87, 89, 90, 91, 93, 95, 96, 97, 98, 99
Taken: 3, 4, 13, 17, 23, 25, 27, 34, 38, 41, 44, 53, 60, 66, 85, 88, 92, 94
|
|
|
Post by Alex@Marvel on Nov 11, 2016 11:47:25 GMT -5
he's not someone you wanna screw with at all okay okay
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Feb 1, 2017 8:29:16 GMT -5
... don't ask. it was for the discourseclan group chat.
|
|
|
Post by Sasha on Feb 4, 2017 16:01:40 GMT -5
Excuse me, sir! Can you direct us to the naval base in Alameda? It's where they keep the nuclear wessels.
|
|
|
Post by Buck on Feb 4, 2017 16:40:10 GMT -5
|
|