Quotes help make search much faster. Example: "Practice Makes Perfect"

Thursday, January 9, 2014

Codeschool Try Objective C: Level 1 List of Sample Solutions

This page serves as a quick way to access all the sample solutions to Codeschool's Try Objective C: Level 1 challenges. I hope it will help you out. If you have any questions, suggestions, or comments, just fill out the form at the end.

Codecademy: Sun, Earth, and Code List of Sample Solutions

This page serves as a quick way to access all the sample solutions to Codecademy's Sun, Earth, and Code exercises. I hope it will help you out. If you have any questions, suggestions, or comments, just fill out the form at the end.

Codecademy: Animate Your Name List of Sample Solutions

This page serves as a quick way to access all the sample solutions or answers to Codecademy's Animate Your Name exercises. I hope it will help you out. If you have any questions, suggestions, or comments, just fill out the form at the end.

Tuesday, January 7, 2014

Codecademy - Sun, Earth, and Code: Spin please

// Sample solution to style.css

html, body {
    /* The universe takes up all available space */
    width: 100%;
    height: 100%;
   
    /* The universe is black */
    background-color: black;
}

#sun {
    position: absolute;
    /* Positions the top-left corner of the image to be *
    /* in the middle of the box */
    top: 50%;
    left: 50%;
   
    /* Play with these numbers to see what it does */
    height: 200px;
    width: 200px;
    margin-top: -100px;
    margin-left: -100px;
   
    border-color: orange;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    border-shadow: 0 0 64px yellow;
}

#earth {
    /* Style your earth */
    position: absolute;
    top: 7%;
    left: 25%;
   
    height: 50px;
    width: 50px;
    margin-left: -25px;
    margin-top: -25px;
}

#earth-orbit {
    /* For Section #2 */
    position: absolute;
    top: 50%;
    left: 50%;
   
    height: 500px;
    width: 500px;
    margin-left: -250px;
    margin-top: -250px;
   
    border-width: 2px;
    border-style: dotted;
    border-color: white;
    border-radius: 50%;
   
    -webkit-animation: spin-right 10s linear infinite;
    -moz-animation: spin-right 10s linear infinite;
    -ms-animation: spin-right 10s linear infinite;
    -o-animation: spin-right 10s linear infinite;
    animation: spin-right 10s linear infinite;
}

@-webkit-keyframes spin-right {
  100% {
    -webkit-transform: rotate(360deg);
       -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
         -o-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin-right {
  100% {
    -webkit-transform: rotate(360deg);
       -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
         -o-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

Back to list of sample solutions for Sun, Earth, and Code

Codecademy - Sun, Earth, and Code: Orbit with style!

// Sample solution to style.css

html, body {
    /* The universe takes up all available space */
    width: 100%;
    height: 100%;
   
    /* The universe is black */
    background-color: black;
}

#sun {
    position: absolute;
    /* Positions the top-left corner of the image to be *
    /* in the middle of the box */
    top: 50%;
    left: 50%;
   
    /* Play with these numbers to see what it does */
    height: 200px;
    width: 200px;
    margin-top: -100px;
    margin-left: -100px;
   
    border-color: orange;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    border-shadow: 0 0 64px yellow;
}

#earth {
    /* Style your earth */
    position: absolute;
    top: 25%;
    left: 25%;
   
    height: 50px;
    width: 50px;
    margin-left: -25px;
    margin-top: -25px;
}

#earth-orbit {
    /* For Section #2 */
    position: absolute;
    top: 50%;
    left: 50%;
   
    height: 500px;
    width: 500px;
    margin-left: -250px;
    margin-top: -250px;
   
    border-width: 2px;
    border-style: dotted;
    border-color: white;

    border-radius: 50%;


}

Back to list of sample solutions for Sun, Earth, and Code

Codecademy - Sun, Earth, and Code: Prepare to orbit the sun

<!-- Sample solution to index.html -->
<html>
    <head>
        <link rel="stylesheet" href="style.css" />
    </head>
   
    <body>
        <!-- Right below is an image of the sun -->
        <img id="sun" src="http://goo.gl/dEEssP">
       
        <!-- Insert the 'earth' on the next line -->
        <div id="earth-orbit">
            <img id="earth" src="http://goo.gl/o3YWu9">
        </div>
    </body>
</html>

Back to list of sample solutions for Sun, Earth, and Code

Codecademy - Sun, Earth, and Code: Sun and Earth Styles

//Sample solution to style.css

html, body {
    /* The universe takes up all available space */
    width: 100%;
    height: 100%;
   
    /* The universe is black */
    background-color: black;
}

#sun {
    position: absolute;
    /* Positions the top-left corner of the image to be *
    /* in the middle of the box */
    top: 50%;
    left: 50%;
   
    /* Play with these numbers to see what it does */
    height: 200px;
    width: 200px;
    margin-top: -100px;
    margin-left: -100px;
   
    border-color: orange;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    border-shadow: 0 0 64px yellow;
}

#earth {
    /* Style your earth */
    position: absolute;
    top: 25%;
    left: 25%;
}

#earth-orbit {
    /* For Section #2 */
}

Back to list of sample solutions for Sun, Earth, and Code

Codecademy - Sun, Earth, and Code: Position the Sun and the Earth

//Sample solution to style.css

html, body {
    /* The universe takes up all available space */
    width: 100%;
    height: 100%;
   
    /* The universe is black */
    background-color: black;
}

#sun {
    position: absolute;
    /* Positions the top-left corner of the image to be *
    /* in the middle of the box */
    top: 50%;
    left: 50%;
   
    /* Play with these numbers to see what it does */
    height: 200px;
    width: 200px;
    margin-top: -100px;
    margin-left: -100px;
}

#earth {
    /* Style your earth */
    position: absolute;
    top: 25%;
    left: 25%;
}

#earth-orbit {
    /* For Section #2 */
}

Back to list of sample solutions for Sun, Earth, and Code

Codecademy - Sun, Earth, and Code: Add the Earth!

<!-- Sample solution to index.html -->
<html>
    <head>
        <link rel="stylesheet" href="style.css" />
    </head>
   
    <body>
        <!-- Right below is an image of the sun -->
        <img id="sun" src="http://goo.gl/dEEssP">
       
        <!-- Insert the 'earth' on the next line -->
        <img id="earth" src="http://goo.gl/o3YWu9">
       
    </body>
</html>

Back to list of sample solutions for Sun, Earth, and Code

Codecademy - Animate Your Name: Bounce the bubbles

//Sample solution to main.js

var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var myName = "Ryan";
var letterColors = [red, orange, green];

if(myName.length < 4){
    //try changing myName to less than 4 letters
    bubbleShape = "square";
} else {
    bubbleShape = "circle";
}

drawName(myName, letterColors);
bounceBubbles();


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Bounce the name

//Sample solution to main.js

var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var myName = "Ryan";
var letterColors = [red, orange, green];

if(myName.length < 4){
    //try changing myName to less than 4 letters
    bubbleShape = "square";
} else {
    bubbleShape = "circle";
}

drawName(myName, letterColors);
bounceName();


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Decisions, decisions

//Sample solution to main.js

var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var myName = "Ryan";
var letterColors = [red, orange, green];

if(myName.length < 4){
    //try changing myName to less than 4 letters
    bubbleShape = "square";
} else {
    bubbleShape = "circle";
}

drawName(myName, letterColors);


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Change the bubble shape

//Sample solution to main.js

var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var myName = "Ryan";
var letterColors = [red, orange, green];
bubbleShape = "square";

drawName(myName, letterColors


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Arrays

//Sample solution to main.js

var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var myName = "Ryan";
var letterColors = [red, orange, green];

drawName(myName, letterColors);


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Functions

//Sample solution to main.js

var myName = "Ryan";

drawName(myName, blue);


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Variables

//Sample solution to main.js

var myName = "Ryan";

drawName(myName);


Back to the list of sample solutions for Animate Your Name

Monday, January 6, 2014

Codecademy - Animate Your Name: Booleans

//Sample solution to main.js

var someString = "I'm coding like a champ";
document.write( someString );
document.write( " The length of this string is " );
document.write( someString.length );
//for space
document.write( " " );
document.write( someString.length > 10 );


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Numbers

//Sample Solution:

document.write(  2014 * 2013  );


Back to the list of sample solutions for Animate Your Name

Codecademy - Animate Your Name: Discover the length

Sample Solution:

//document.write( "Ryan" );
document.write( " The length of Ryan is ");
document.write( "Ryan".length );
document.write( "." );


Back to the list of sample solutions for Animate Your Name

True or False: Interlabial sex will not cause hymenal laceration

Answer:

True

What does carnal knowledge mean?

Answer:

Slightest penetration of the female sexual organ by the male sex organ

What are contusions?

Answer:

These are physical injuries which develop in parts of the body when bone tissues are deeply seated caused by forcible impact of hard blunt objects.

What is a penetrating wound?

Answer:

This results when a wounding agent enters the body but does not come out.

What is a perforating wound?

Answer:

This results when a wounding agent produces communication between the inner and outer portion of a hollow organ.

What is a sprain?

Answer:

The partial or complete disruption in the continuity of a muscular or ligamentous support of a joint.

In slight physical injuries, what is the maximum period for medical attendance?

Answer:

9 days

What type of gunshot wound is characterized by the absence of smoke soiling, burning, or powder tattooing?

Answer:

Long range wound

Physical injury is considered slight if the victim is incapacitated for how long?

Answer:

From 1 to 9 days

What are fourth degree burns?

Answer:

According to Dupuytren's classification, these are burns which involve the deep fascia and muscles which may result in severe scarring or deformity.

Wednesday, January 1, 2014

What can be used to test for the presence of powder residues on clothing?

Answer:
Walker's test

What is a Hacking wound?

Answer:
This is an injury sustained from a blow inflicted with the use of a sharp edged instrument resulting in the break of a bone

What are contusions?

Answer:
These are usually physical injuries which develop on parts of the body when bone tissues are deep seated caused by the forcible impact of hard blunt objects

What is Locus minoris Resistencia?

Answer:

  • This is the type of injury when a blow to the forehead causes a contusion of the eyeball due to the fracture of the bone at the roof of the orbit
  • This is a head injury that may be found in areas of the skull offering the least resistance

Is tattoing present in an exit wound from a gunshot?

Answer:

No

What characterizes washerwoman's skin?

Answer:

The skin is
  • whitened
  • macerated
  • wrinkled

What produces the Contusion collar?

Answer:
spinning motion of the bullet, its rough surface, and the imagination of the skin

What is the "Pugilistic" position of a boxer associated with?

Answer:

burns

This is an example of scrolling text using Javascript.

Popular Posts