CodePen

HTML

            
              
 <?php if($resultB < 18 or $resultB > 23 or $resultB = range(18,23)): ?>
            <div class="media">
                <div class="media-body">

                  <h4 class="media-heading" style="color:#3c7bec;">Wellbeing</h4>

                   				
                                       <?php if($resultB < 18): ?>
                    <p>Although you may place less significance on this area of your Wheel Of Life we would like as you to stop by this section a little more.  Sometimes an area of life is overlooked simply through lack of awareness or exposure; here at Health For Life we aim to help you discover a Personal Understanding that is centred around a fluid and balanced life.  Trying something different can often
unlock an unknown talent or passion, we hope you enjoy the following articles.</p>                   
<ul>
                        <li>
                            <a href="http://www.healthforlifetraining.com/articles/wellbeing/challenging-the-status-quo-the-minimalist-approach-to-living">
                                http://www.healthforlifetraining.com/articles/wellbeing/challenging-the-status-quo-the-minimalist-approach-to-living
                            </a>
                      </li>
                        <li>
                            <a href="http://www.healthforlifetraining.com/articles/wellbeing/winter-blues-keep-smiling-through-til-spring">
                                http://www.healthforlifetraining.com/articles/wellbeing/winter-blues-keep-smiling-through-til-spring
                            </a>
                        </li>
                        <li>
                            <a href="http://www.healthforlifetraining.com/articles/wellbeing/fit-for-a-purpose">
                                http://www.healthforlifetraining.com/articles/wellbeing/fit-for-a-purpose
                            </a>
                        </li>
                 </ul>




                    <?php elseif($resultB > 23): ?>
                                        
                   <p> You have scored significantly highly in this category of the Wheel Of Life, this would indicate that you are likely to be adept in mastering your happiness in this area. To identify this 

strength and enhance your understanding the following articles may be of interest to you.
                    <ul>
                        <li>
                            <a href="http://www.healthforlifetraining.com/articles/wellbeing/challenging-the-status-quo-the-minimalist-approach-to-living">
                                http://www.healthforlifetraining.com/articles/wellbeing/challenging-the-status-quo-the-minimalist-approach-to-living
                            </a>
                      </li>
                        <li>
                            <a href="http://www.healthforlifetraining.com/articles/wellbeing/winter-blues-keep-smiling-through-til-spring">
                                http://www.healthforlifetraining.com/articles/wellbeing/winter-blues-keep-smiling-through-til-spring
                            </a>
                        </li>
                        <li>
                            <a href="http://www.healthforlifetraining.com/articles/wellbeing/fit-for-a-purpose">
                                http://www.healthforlifetraining.com/articles/wellbeing/fit-for-a-purpose
                            </a>
                        </li>
                 </ul>
</p>




				<?php elseif($resultB = range(18,23)): ?>                    
                <p>you have a great balance in this area and it is likely that you feel a natural calm here; most activities will seem to 'fit in' effortlessly with your life plan.  You do not feel the need to focus your attentions on this area, but you are able to deal with any of life's challenges effectively.</p>

                 </div>
                 	</div>
                  <hr />

                  <?php endif; ?>  
<?php endif; ?>

            
          
!
via HTML Inspector

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................