Advertisement
StefanTobler

Programming Blog Post 2

Feb 23rd, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 8.75 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title>Project: Recipe book</title>
  5.         <meta charset="utf-8">
  6.         <style>
  7.         .recipe{
  8.             color:green;
  9.         }
  10.         #pizzatable{
  11.             color:rgb(255, 0, 0);
  12.         }
  13.         #ramentable{
  14.             color:rgb(250, 192, 20);
  15.         }
  16.         #warning{
  17.             color:rgb(255, 0, 0);
  18.         }
  19.         #sandwich{
  20.             color:pink;
  21.         }
  22.         .step{
  23.             color:darkgrey;
  24.         }
  25.         h1{
  26.             color:violet;
  27.         }
  28.         </style>
  29.     </head>
  30. <body>
  31. This is the second major project assigned by Khan Academy. This definitely took me longer than the last one, but it was a good opportunity to practice the skills I had just learned. I enjoyed this project because it made me feel even more accomplished when I was complete especially after seeing how many lines of code were included. As always you can see the raw HTML and CSS <a href="http://pastebin.com/zJLqjDM3">here</a>.
  32. </body>
  33.     <body id="top">
  34.        
  35.         <h1>Stefan's Recipe Book</h1>
  36.        
  37.         <h2>Contents:</h2>
  38.        
  39.         <ol>
  40.             <li><a href="#pizza">Recipe #1:<strong> Pizza</strong></a></li>
  41.             <li><a href="#recipe2">Recipe #2:<strong> Hearty Ramen Chicken Soup</strong></a></li>
  42.             <li><a href="#recipe3">Recipe #2:<strong> Turkey Sandwich</strong></a></li>
  43.             <li><a href="#learned">What I learned.</a></li>
  44.         </ol>
  45.        
  46.         <h2 class="recipe" id="pizza">Recipe #1:<strong> Pizza</strong></h2><img src="https://upload.wikimedia.org/wikipedia/commons/f/f2/John's_Inc_Pizzas.jpg" alt="Delicous Looking Pizza" width="300">
  47.        
  48.         <ul>
  49.             <li>Time: 15 to 20 minutes</li>
  50.             <li>Serves: 1 to 2 people</li>
  51.         </ul>
  52.        
  53.         <table border="1" id="pizzatable">
  54.             <thead>
  55.                 <tr>
  56.                     <th>----------------Ingredients----------------</th>
  57.                     <th>----Quantity----</th>
  58.                 </tr>
  59.             </thead>
  60.             <tbody>
  61.             <tr>
  62.                 <td>Pizza Dough</td>
  63.                 <td>8 ounces</td>
  64.             </tr>
  65.             <tr>
  66.                 <td>Tomato Sauce</td>
  67.                 <td>1/6th cup</td>
  68.             </tr>
  69.             <tr>
  70.                 <td><strong>CHEESE</strong></td>
  71.                 <td>1 bag</td>
  72.             </tr>
  73.             <tr>
  74.                 <td>Toppings such as meats and veggies.</td>
  75.                 <td>As many as needed.</td>
  76.             </tr>
  77.             </tbody>
  78.         </table>
  79.         <h3 class="step"><strong>Steps:</strong></h3>
  80.        <ol>
  81.            <li>Preheat oven to 500-degree F.</li>
  82.            <li>Roll the dough and shape it.</li>
  83.            <li>Apply tomato sauce over the dough.</li>
  84.            <li>Empty bag of cheese over dough, you may want more or less cheese depending on your preference.</li>
  85.            <li>Add whatever toppings suit your fancy.</li>
  86.            <li>Place in oven for approximately 10 minutes.</li>
  87.            <li>Enjoy!</li>
  88.        </ol>
  89.        
  90.     <p><em>Source: <a target="_blank" href="http://www.foodnetwork.com/how-to/photos/how-to-make-and-form-pizza-dough.html">Food Network Article</a></em></p>
  91.    
  92.    
  93.    
  94.     <!-- END OF RECIPE 1 -->
  95.    
  96.    
  97.    
  98.       <h2 class="recipe" id="recipe2">Recipe #2:<strong> Hearty Ramen Chicken Soup</strong></h2><img src="https://upload.wikimedia.org/wikipedia/commons/1/17/Ramen_bowl_figurines.jpg" alt="Ramen Noodle Bowl" width="300">
  99.        
  100.         <ul>
  101.             <li>Time: 4 to 8 minutes</li>
  102.             <li>Serves: 1 person</li>
  103.         </ul>
  104.        
  105.         <table border="1" id="ramentable">
  106.             <thead>
  107.                 <tr>
  108.                     <th>----------------Ingredients----------------</th>
  109.                     <th>----Quantity----</th>
  110.                 </tr>
  111.             </thead>
  112.             <tbody>
  113.             <tr>
  114.                 <td>Sliced carrot</td>
  115.                 <td>1 medium</td>
  116.             </tr>
  117.             <tr>
  118.                 <td>Sliced celery</td>
  119.                 <td>1 rib</td>
  120.             </tr>
  121.             <tr>
  122.                 <td>Sliced mushrooms</td>
  123.                 <td>1 cup</td>
  124.             </tr>
  125.             <tr>
  126.                 <td>Unsalted butter</td>
  127.                 <td>2 tbsp.</td>
  128.             </tr>
  129.             <tr>
  130.                 <td>Chicken Flavor</td>
  131.                 <td>2 packages</td>
  132.             </tr>
  133.             <tr>
  134.                 <td>Maruchan Ramen</td>
  135.                 <td>1 package</td>
  136.             </tr>
  137.             <tr>
  138.                 <td>Water</td>
  139.                 <td>4 cups</td>
  140.             </tr>
  141.             <tr>
  142.                 <td>Cooked/shredded turkey or chicken</td>
  143.                 <td>1/2 cup</td>
  144.             </tr>
  145.             <tr>
  146.                 <td>Flour</td>
  147.                 <td>2 tbsp.</td>
  148.             </tr>
  149.             <tr>
  150.                 <td>Sliced green onions</td>
  151.                 <td>2 onions</td>
  152.             </tr>
  153.             <tr>
  154.                 <td>Grated parmesan cheese</td>
  155.                 <td>4 tbsp.</td>
  156.             </tr>
  157.             <tr>
  158.                 <td>Finely chopped parsley</td>
  159.                 <td>2 tbsp.</td>
  160.             </tr>
  161.             </tbody>
  162.         </table>
  163.        
  164.         <h3 class="step"><strong>Steps:</strong></h3>
  165.        <ol>
  166.            <li>Sauté carrots, celery, and mushrooms in unsalted butter until tender</li>
  167.            <li>Add noodles, 3 1/2 cups water, seasoning packets and chicken to vegetables.</li>
  168.            <li>Cook for 3 minutes.</li>
  169.            <li>Combine flour and remaining 1/2 cup cold water.</li>
  170.            <li>Stir into soup.</li>
  171.            <li>Cook and stir until thickened, add green onions.</li>
  172.            <li>Serve immediately, garnish with cheese and parsley.</li>
  173.        </ol>
  174.         <p id="warning"><strong>WARNING: CONTENTS MAY BE HOT WHEN TAKING OFF STOVE!! CONSUME WITH CAUTION!</strong></p>
  175.         <!-- I added this part ;) -->
  176.     <p><em>Source: <a target="_blank" href="http://www.maruchan.com/recipes/hearty-ramen-chicken-soup">Straight off of the Maruchan website.</a></em></p>
  177.    
  178.    
  179.    
  180.     <!-- END OR RECIPE 2 -->
  181.    
  182.    
  183.    
  184.     <h2 class="recipe" id="recipe3">Recipe #3:<strong> Turkey Sandwich</strong></h2><img src="https://upload.wikimedia.org/wikipedia/commons/7/7e/Carnation_Cafe-sandwich01.jpg" alt="Turkey Sandwich" width="300">
  185.        
  186.         <ul>
  187.             <li>Time: 2 to 4 minutes</li>
  188.             <li>Serves: 1 person</li>
  189.         </ul>
  190.        
  191.         <table border="1" id="sandwich">
  192.             <thead>
  193.                 <tr>
  194.                     <th>----------------Ingredients----------------</th>
  195.                     <th>----Quantity----</th>
  196.                 </tr>
  197.             </thead>
  198.             <tbody>
  199.             <tr>
  200.                 <td>Bread</td>
  201.                 <td>2 slices</td>
  202.             </tr>
  203.             <tr>
  204.                 <td>Sliced turkey</td>
  205.                 <td>4 to 6 slices</td>
  206.             </tr>
  207.             <tr>
  208.                 <td>Mayonaise</td>
  209.                 <td>1 knife flick</td>
  210.             </tr>
  211.             <tr>
  212.                 <td>Brown mustard</td>
  213.                 <td>3 second area covering squrit</td>
  214.             </tr>
  215.             <tr>
  216.                 <td>Sliced provolone cheese</td>
  217.                 <td>2 to 4 slices</td>
  218.             </tr>
  219.             <tr>
  220.                 <td>Chips</td>
  221.                 <td>1 person bag</td>
  222.             </tr>
  223.             </tbody>
  224.         </table>
  225.         <h3 class="step"><strong>Steps:</strong></h3>
  226.        <ol>
  227.            <li>Put bread on napkin or plate.</li>
  228.            <li>Apply 1 knife flick of mayo to each slice of bread on one side only.</li>
  229.            <li>Apply brown mustard to both sides.</li>
  230.            <li>Place sliced turkey on one piece of bread.</li>
  231.            <li>Place cheese on other side of bread.</li>
  232.            <li>Combine both pieces of bread and contents to make a delicious sandwich.</li>
  233.            <li> Empty bag of chips onto plate or napkin.</li>
  234.            <li>Enjoy!</li>
  235.        </ol>
  236.        
  237.     <p><em>Source: <a target="_blank" href="http://lmgtfy.com/?q=How+to+make+a+turkey+sandwich.&l=1">Somewhat Experienced</a></em></p>
  238.    
  239.    
  240.    
  241.     <!-- END OF RECIPE 3 -->
  242.    
  243.    
  244.    
  245.     <h3 id="learned">What I learned:</h3>
  246.     <ul class="step">
  247.     <em>
  248.         <li>How to link stuff.</li>
  249.         <li>How to create tables in HTML.</li>
  250.         <li>How to add comments (see raw HTML).</li>
  251.         <li>How to create tables.</li>
  252.         <li>How to put links to specific areas in the page.</li>
  253.         </em>
  254.     </ul>
  255.    
  256.     <p><em><a href="#top">Back to top.</a></em></p>
  257.     </body>
  258. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement