/* global graphql */ import React from 'react'; import PropTypes from 'prop-types'; import Link from 'gatsby-link'; import Helmet from 'react-helmet'; import { ChallengeNode } from '../redux/propTypes'; import './index.css'; const propTypes = { data: PropTypes.shape({ challengeNode: ChallengeNode }) }; const IndexPage = ({ data: { challengeNode: { title, fields: { slug, blockName } } } }) => (

Welcome to learn.freeCodeCamp.org

Check out the lesson map on the left. We have thousands of coding lessons to help you improve your skills.

You can earn verified certificates by completing certificate's 5 required projects.

{'And yes - all of this is 100% free, thanks to the thousands of ' + 'campers who '} donate {' '} to our nonprofit.

Not sure where to start?

We recommend you start at the beginning{' '} {`${blockName} -> ${title}`}

); IndexPage.displayName = 'IndexPage'; IndexPage.propTypes = propTypes; export default IndexPage; export const query = graphql` query FirstChallenge { challengeNode(order: { eq: 0 }, suborder: { eq: 1 }) { title fields { slug blockName } } } `;