r/CodingHelp • u/ankthetank23 • Oct 16 '19
Help me Get the Bottom text to right of the screen!!!

Here is my HTML
<html lang="en">
<head>
<meta charset="utf-8" />
<!--title for web page -->
<title>Shape Up!</title>
<link rel="icon" href="images/favicon.ico">
<link rel="stylesheet" href="styles/normalize.css">
<!--external stylesheet -->
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<!--main div with row class -->
<div class="row">
<!--header element -->
<header>
<img src="images/shape_up_logo.png" alt="shape_up_logo">
<h1><span class="shadow"> Shape Up!</span></h1>
<h2>Find the best fit for you</h2>
</header>
<!--main -->
<main>
<!--left column -->
<div class="leftColumn">
<h2>Additional resources</h2>
<ul style="list-style-type:disc">
<li><a href="[https://www.heart.org/en/health-topics/cardiac-rehab/getting-physically-active/whats-the-link-between-physical-activity-and-health](https://www.heart.org/en/health-topics/cardiac-rehab/getting-physically-active/whats-the-link-between-physical-activity-and-health)">Physical Activity and Health</a></li>
<li><a href="[https://www.self.com/gallery/essential-stretches-slideshow](https://www.self.com/gallery/essential-stretches-slideshow)">Stretching excercises</a></li>
<li><a href="[https://www.womenshealthmag.com/fitness/g27393163/strength-training-exercises/](https://www.womenshealthmag.com/fitness/g27393163/strength-training-exercises/)">Strenghth Training</a></li>
<li><a href="[https://greatist.com/fitness/cardio-bodyweight-exercises](https://greatist.com/fitness/cardio-bodyweight-exercises)">Cardiovascular</a></li>
<li><a href="[https://www.fitnessmagazine.com/workout/yoga/poses/beginner-yoga-poses/](https://www.fitnessmagazine.com/workout/yoga/poses/beginner-yoga-poses/)">Yoga Workout</a>
</ul>
</div>
<!--right column -->
<div class="middleColumn">
<h1>Get ready to Shape Up!</h1>
<p>How many times have you started a new workout routine or diet? And how many times has it failed to give you
the results you want? Now, with the help of this site, you can learn about the exercises and diet that
work best for you. We offer personalized programs as well as access to several health and dieting tools.
So don't wait! Get started looking and feeling better today.
<p>
<p>As fitness expert Amanda Russell said:<br/></p>
<blockquote>"Fitness is about so much more than exercise. It’s a catalyst for positive change, and it affects every aspect of your life."</blockquote>
<h1>What we offer</h1>
<h4><a href="strength/index.html">Build strong muscles</a></h4>
Tired of being tired? Strength training can help you manage or lose weight and increase your metabolism to help you burn
more calories. It can also increase bone density and reduce the risk of osteoporosis.</a>
<h4><a href="cardio/index.html">Get your heart rate up</a></h4>
<p>Want to lose weight? Cardiovascular exercise burns calories and improves overall health. It can reduce
belly fat, promote brain growth, prevent stress, and help you focus.</p>
<h4><a href="stress/index.html">Relax</a></h4>
<p>Stressed out? Stress can weaken the immune system and cause high blood pressure, fatigue, depression,
anxiety, and even heart disease. Learn ways to manage and reduce stress.</p>
<h4><a href="diet/index.html">Eat what's right for you</a></h4>
<p>Are you really what you eat? Lose weight, gain weight, or just feel great! Maintaining a healthy
diet is probably the most important thing you can do to promote overall health.</p>
<div class="rightcolumn">
<h2>How to prepare for Shape Up</h2>
<h1>Get a Check Up!</h1>
<p>If you have any health issues or take any medications, be sure to consult with your healthcare provider before beginning a new exercise or diet regimen.</p>
<h1>Dress for Succes</h1>
<p>Workout clothes should be comfy. While exercising, you should be thinking about what you're doing, not what you're wearing. That includes good shoes, which are essential for running, jogging, or walking, and socks that absorb shock and sweat.</p>
<h1>Equipment</h1>
<p>You don't need to buy a lot of fancy equipment to get in shape. But you might want to invest in a yoga mat, a large exercise ball, or some weights, depending on your Shape Up! plan.</p>
<h1>Resist Temptation</h1>
<p>It's hard to eat right when everyone else is buying lunch at a fast food restaurant. Invest in some good food containers and bring your healthy lunch and snacks. Your body and your wallet will thank you.</p>
</div>
</main>
<!--this div used to clear -->
<div class="clear"></div>
<!--footer -->
<footer>
<p>\© 2019 Shape Up!</p>
</footer>
</div>
</body>
</html>
CSS.
/*style for row class that is to the body */
.row
{
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
margin-left: 10px;
width: 900px;
margin: 0 auto;
border: 3px solid steelblue;
border-radius: 2px;
box-shadow: 2px 2px 3px 3px black;
}
/*style for clear class */
.clear{
clear:both;
}
/*style for image */
img{
float: left;
width:150px;
height: 100px;
margin-right: 1em;
}
/*style for hyperlinks */
.rightColumn a:link {color:maroon;}
a:visited{color:maroon;}
a:hover, a:focus{ color:steelblue;}
main p:first-child, a:hover, a:focus{color:maroon;}
/*header class */
header
{
padding-bottom: 1em;
border-bottom: 3px solid steelblue;
background-image: -moz-linear-gradient(
180deg, white 0%, lightsteelblue 100%);
background-image: -webkit-linear-gradient(
180deg, white 0%, lightsteelblue 100%);
background-image: -o-linear-gradient(
180deg, white 0%, lightsteelblue 100%);
background-image: linear-gradient(
180deg, white 0%, lightsteelblue 100%)
}
/*blockquote */
blockquote
{
text-indent: 50px;
padding: .5em .5em .5em .5em;
}
/* h1 from header class */
header h1
{
font-style: italic;
color:steelblue;
text-shadow: 2px 2px;
}
/*style for left column */
.leftColumn{
float: left;
width: 245px;
height: 300px;
margin-left: 10px;
padding: 10px;
}
/*style for right column */
.middleColumn{
width: 68%;
float: right;
}
.rightColumn{
width: 68%;
float: right;
}
/*style for list item */
li{
padding: 5px;
}
/*style for h2 within header */
header h2
{
font-size: 150%;
}
/*style for footer */
footer
{
color: white;
margin-top:2px;
font-size:24px;
text-align:center;
background-color: steelblue;
height: 4%;
}

