Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <script src=""></script>
<Div class="main-body">

<nav id="navbar">

  <header>10 steps to becoming a fitter, faster, better cyclist</header><br>

   <a href="#Introduction"     class="nav-link">Introduction</a>
   <a href="#Descend_faster"   class="nav-link">Descend faster</a>
   <a href="#Make_every_ride_count"  class="nav-link">Make every ride count</a>
  <a  href="#Ride_harder_for_longer" class="nav-link">Ride harder for longer</a>
  <a  href="#Improve_your_bike_handling" class="nav-link"> Improve your bike handling</a>
<main id="main-doc" >
  <section id="Introduction" class="main-section" >
    <p>If you want to be the best, it usually pays to listen to others who are at the top of their game. BikeRadar spoke to some of the top figures in women’s cycling — including Tiffany Cromwell, Chloe Hosking, Dani King and Laura Kenny — for their combined wealth of knowledge and experience.</P>
  <p>From climbing tips to staying motivated when training, and from fuelling effectively to preparing mentally, these training tips from the professionals will help you become a fitter, faster, better cyclist.</p>
      if(music!= help){
        try(music + long rides);
  <section id="Descend_faster" class="main-section" >
    <header> <h2>Descend faster</h2></header>
    <p>When descending, always cover your brakes and remember not to go in too hard with the front brake,” says Valentina Scandolara who rides for WM3 Pro Cycling</p>
    <p>Try to keep your eyes way in front and try to brake before a corner rather than in it. Start to plan your line before hitting the corner. If the road is closed, use all the width of the road, then cut the corner in the inside, and go wide again, trying to not wash out too much speed</p>
      if (inPublic == true){
  <section id="Make_every_ride_count" class="main-section" >
    <header><h3>Make every ride count</h3></header>
    <p>Look at your time frame,” advises Wiggle High5’s Nettie Edmondson. “If you have until midday, for example, do a long, normal-paced road ride. We call these rides ‘base km’ or ‘base miles’ to work on your overall fitness</p>
    <p>Ex-pro rider Mara Abbott, formerly of Wiggle High5, says you should make sure every ride has a purpose, whether that’s intensity, endurance or just enjoyment. “If you know the purpose of your ride, you can make sure you stay focused on that intention and make the most of the time on the bike</p>
    <p>Becomes something like:</p>
  <section   id="Ride_harder_for_longer" class="main-section">
    <header><h4>Ride harder for longer</h4></header>
    <p>Make sure you build up your capacity for long rides slowly,” says Nettie Edmondson. “Gradually increase your long rides by 30 minutes if you’re coping okay. Once you’re comfortable with a certain distance</p>
    <p>Mara Abbott says being able to ride for longer is also about learning to pace yourself — and fuelling regularly. “Start easy and keep eating more than you think you should. If you’re worried you can’t complete a distance, do smaller loops close to home so you can stop if you need to</p>
    if(feelBetter == false){
    return youreStillGood;
  <section  id="Improve_your_bike_handling" class="main-section">
    <header><h5>Improve your bike handling</h5></header>
    <p>eam WNT Pro Cycling’s Eileen Roe believes cyclocross is the best way to learn better bike handling skills</p>
    <p>In cyclocross you have to learn to feel the bike moving underneath you — in sand and in mud, whether it’s wet or hard. If you’re able to handle a cyclocross bike in a race and not crash, then it should be a lot easier to control your bike on the road</p>
      <li>Glue and patches</li> 


                Div.main-body {
  display: grid ;
  grid-template-columns: minmax(300px, auto) 1fr;
  grid-template-areas:"navbar mainContent";
  grid-gap: 60px;
nav#navbar {

nav#navbar a {
  border: 1px solid black;
  padding: 5px;
  margin: 10px 0;
  text-decoration: none;
  color: black;

main#main-doc {
  grid-area: mainContent;
  font-size: 1.0rem;
code {
  display: block;
  padding: 20px;
@media screen and (min-width: 400px) {
  div.mai-body {
    grid-template-columns: 1fr;
    frid-template-areas: "navbar" "mainContent";
  nav#navbar 2 {
    position: inherit;


                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.