Hello! This workshop will be helping you create additional awesomeness (read: content) for your website.
A big shout-out to the other instructors, mentors and the Ladies Learning Code team.
We Work Hard, But We Have Fun
Business Person Being Stressed
Best Business Meeting Ever
<table> <!-- Table Headers --> <thead> <tr> <th>Column 01</th> <th>Column 02</th> </tr> </thead> <!-- Table Content --> <tbody> <tr> <td>Table Cell</td> <td>Table Cell</td> </tr> <tr> <td>Table Cell</td> <td>Table Cell</td> </tr> </tbody> </table>
<section id="pricing" class="pricing box"> </section>
<!doctype html> <section id="pricing" class="pricing box"> <h2>Pricing Plans</h2> <ul class="plan starter"> <li>Starter</li> <!-- PLAN NAME --> <li>$9/Month</li> <!-- PLAN PRICE --> <li>10GB Disk Space</li> <li>100GB Bandwidth</li> <li>10 Email Accounts</li> <li>Unlimited Subdomains</li> <li>Free Shared SSL</li> <li>Free backups</li> <li>Full time support</li> <!-- ADDITIONAL DETAILS GO HERE --> <li><a href="#">Sign Up</a></li> </ul> </section>
#pricing{ text-align: center; } #pricing .plan{ list-style-type: none; width: 22%; min-width: 300px; margin: 0 1%; display: inline-block; border: 1px solid #e5e5e5; padding: 0; margin-bottom: 30px; } #pricing .plan li{ padding: 15px; font-size: 12px; }
HTML
<!doctype html> <li class="heading">Starter</li>
CSS
#pricing .plan .heading{ font-size: 24px; font-weight: bold; text-transform: uppercase; color:#666; }
HTML
<!doctype html> <li class="odd heading">Starter</li> <li>9/Month</li> <li class="odd">10GB Disk Space</li> <li>100GB Bandwidth</li> <li class="odd">10 Email Accounts</li>
CSS
#pricing .plan .odd{ background-color: #f4f4f4; }
HTML
<!doctype html> <li> <span class="plan-price">$9</span> <sub>/ Month</sub> </li>
CSS
#pricing .plan .plan-price{ font-size: 24px; } #pricing .plan sub{ text-transform: uppercase; margin-left:2px; }
CSS
#pricing .plan.starter .plan-price{ color: #5D9CEC; } #pricing .plan.starter .signup{ background-color: #5D9CEC; } #pricing .plan .signup a{ color: white; text-decoration: none; }
CSS
/* Starter Plan */ #pricing .plan.starter .plan-price{ color: #5D9CEC; } #pricing .plan.starter .signup{ background-color: #5D9CEC; } /* Basic Plan */ #pricing .plan.basic .plan-price{ color: #48CFAE; } #pricing .plan.basic .signup{ background-color: #48CFAE; } /* Premium Plan */ #pricing .plan.premium .plan-price{ color: #ED5564; } #pricing .plan.premium .signup{ background-color: #ED5564; } /* Master Plan */ #pricing .plan.master .plan-price{ color: #FFAD33; } #pricing .plan.master .signup{ background-color: #FFAD33; }
HTML
<!doctype html> <section id="recommended" class="recommended box"> <h2>Recommended By Folks At</h2> <div class="companies"> <img src="images/gibson_logo.png" class="company"/> <img src="images/netflix_logo.png" class="company"/> <img src="images/google_logo.png" class="company"/> <!-- Insert More Companies Here --> </div> </section>
CSS
#recommended{ text-align: center; } #recommended .companies{ padding: 70px 10px; background-color: #f4f4f4; border: 1px solid #e2e2e2; } #recommended .company{ height: 50px; padding: 20px 20px; }
HTML
<!doctype html> <section id="blog" class="blog box"> <h2>Recent Posts <div class="post"> <header class="post-header"> </header> <div class="blog-description"> </div> </div> </section>
HTML - Expanding out the Post Header
<!doctype html> <header class="post-header"> <img src="images/profile.jpg" class="post-avatar"> <h4 class="post-title">Blogpost Title</h4> <p class="post-meta"> By <a href="#" class="post-author">Haris Mahmood</a> under <a href="#" class="post-category">JavaScript</a> <a href="#" class="post-category">Rails</a> </p> </header>
CSS
#blog .post{ text-align: left; margin: 30px 0; } #blog .post .post-avatar{ float: left; height: 55px; width: 55px; border-radius: 50%; margin-right: 15px; } #blog .post .post-title{ font-size: 24px; font-weight: bold; margin: 0; }
CSS (Continued)
#blog .post .post-meta{ color: #999999; margin: 5px 0 15px; } #blog .post .post-author{ color: #3d92c9; text-decoration: none; } #blog .post .post-author:hover{ text-decoration: underline; } #blog .post .post-category{ margin: 0 0.1em; padding: 0.3em 1em; color: #fff; background: #df2d4f; font-size: 80%; text-decoration: none; }
Blog Description Content
CSS
#blog .post .blog-description{ line-height: 26px; }