- Did you preview the post and make sure that everything looks right?
- Is there an excerpt?
- Is there a feed image?
- Does the feed image look correct (e.g., no cut-off text, no cut-off borders)
1. | |
a = 5 | |
a = 6 | |
What is a? | |
2. | |
a = 5 | |
a + 2 |
The below snippet is what you would see when viewing a post under the "Text" tab on the Wordpress post edit page.
Things to note...
<img class="alignnone size-full wp-image-82171" src="http://www.allthingsgomusic.com/wp-content/uploads/2017/02/pwr-bttm-e1487360744368.jpg" alt="pwr bttm" width="660" height="440" />
Team up with a partner and pick a code challenge. You will spend 15 minutes solving it individually. After 15 minutes -- even if you are not finished -- you will spend 10 minutes reviewing review each other's code. Some things to discuss
require "httparty" | |
def retrieve(id=nil) | |
url = "http://letsrevolutionizetesting.com/challenge.json" | |
if id | |
url += "?id=" + id | |
end | |
response = HTTParty.get(url) | |
new_id = response["follow"].split("?id=")[-1] | |
retrieve(new_id) |
hall_oates = Artist.create({ | |
name: "Hall & Oates", | |
photo_url: "greatest_band_evar.jpg", | |
nationality: "Philly" | |
}) | |
limp_bizkit = Artist.create({ | |
name: "Limp Bizkit", | |
photo_url: "fred_durst.png", | |
nationality: "Jacksonville" |
Include the JavaScript SDK on your page once, ideally right after the opening tag.
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=1705906936318742";
fjs.parentNode.insertBefore(js, fjs);
var featureCollection = {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-77.0339403, 38.9048542]
}