This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="500"> | |
<g style="fill:none;stroke:#f47d42;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;"> | |
<path d="M172,82 Q171,85, 170.5,87 Q170,89, 169.5,92.5 Q169,96, 168,100.5 Q167,105, 166,110.5 Q165,116, 161.5,135 Q158,154, 157.5,160 Q157,166, 157,170.5 Q157,175, 157,178.5 Q157,182, 158,184 Q159,186, 160,188" /> | |
<path d="M121,78 Q118,78, 118,78 Q118,78, 119,78 Q120,78, 122,78.5 Q124,79, 127,79 Q130,79, 134,79 Q138,79, 143.5,79.5 Q149,80, 155,81 Q161,82, 167.5,83.5 Q174,85, 180.5,87 Q187,89, 197,94 Q207,99, 210.5,102 Q214,105, 216,112 Q218,119, 217.5,122.5 Q217,126, 216,129.5 Q215,133, 192.5,152 Q170,171, 164,174.5 Q158,178, 149,182.5 Q140,187, 138,188 Q136,189, 135,189 Q134,189, 134,188 Q134,187, 135.5,185 Q137,183, 139,180.5 Q141,178, 148,172" /> | |
<path d="M216,155 Q216,155, 216.5,155 Q217,155, 217.5,155 Q218,155, 219,154.5 Q220,154, 222,153.5 Q224,153, 225.5,151.5 Q227,150, 229,149 Q231,148, 232.5,146.5 Q234,145, 235.5,143.5 Q237,142, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid meet" viewBox="0 0 640 640"><defs><text id="axnC5wHSP" x="117.62" y="161.27" font-size="45" font-family="Open Sans" font-weight="normal" font-style="normal" letter-spacing="0" alignment-baseline="before-edge" transform="matrix(1 0 0 1 0 0)" style="line-height:100%" xml:space="preserve" dominant-baseline="text-before-edge"><tspan x="117.62" dy="0em" alignment-baseline="before-edge" dominant-baseline="text-before-edge" text-anchor="start">Here is some text</tspan></text><style id="opensansnormal"> | |
@font-face { | |
font-family: "Open Sans"; | |
font-weight: normal; | |
src: url("data:font/ttf;base64,AAEAAAATAQAABAAwRFNJR54SRB0AAzucAAAVdEdERUYAJgOvAAM3fAAAAB5HUE9TCzcPNwADN5wAAAA4R1NVQg4rPbcAAzfUAAADxk9TLzKhPp7JAAABuAAAAGBjbWFwKasvaAA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!-- Created with Inkscape (http://www.inkscape.org/) --> | |
<svg | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"> | |
<style> | |
.red-text { | |
color: red; | |
} | |
h2 { | |
font-family: Lobster, Monospace; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--url for FCC of working code | |
https://goo.gl/Al0R3U --> | |
<!-- instructions: | |
Delete the .red-text, p, and .smaller-image CSS declarations from your style element so that the only declarations left in your style element are h2 and thick-green-border. | |
Then delete the p element that contains a dead link. Then remove the red-text class from your h2 element and replace it with the text-primary Bootstrap class. | |
Finally, remove the "smaller-image" class from your first img element and replace it with the img-responsive class. --> | |
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Nest your first image and your h2 element within a single <div class="row"> element. Nest your h2 element within a <div class="col-xs-8"> and your image in a <div class="col-xs-4"> so that they are on the same line. --> | |
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"> | |
<style> | |
h2 { | |
font-family: Lobster, Monospace; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mutation(arr) { | |
firstWord = arr[0].toLowerCase(); | |
secondWord = arr[1].toLowerCase().slice(''); | |
lettersFound = 0; | |
for(i=0; i<secondWord.length; i++){ | |
indexSearch = secondWord[i]; | |
indexSearchResult = firstWord.indexOf(indexSearch, 0); | |
if(indexSearchResult == -1) { | |
return false; | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
<html> | |
<head> | |
<title>JavaScript mailto Attribute</title> | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FirstReverse(str) { | |
return str.split("").reverse().join(""); | |
} | |
FirstReverse("here is some text"); | |
//output "txet emos si ereh" |
OlderNewer