Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Bootstrap 4 Basics (Retired) Using Bootstrap Components Building the Schedule with a List Group

mohammed mayat
mohammed mayat
4,228 Points

list group is not 100% in width on computer screen

my list is group stays on left of screen and is not 100% screen it it only taking up 4 coloumn in grid leaving rest of screen with white space

my code <!DOCTYPE html> <html lang="en"> <head> <title>Full Stack Conf</title> <!-- Required meta tags always come first --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <!-- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=320, height=device-height, target-densitydpi=medium-dpi" />-->

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="bootstrap-4.0.0-alpha.6-dist/css/bootstrap.min.css">

<!--My stylesheet-->
<link rel="stylesheet" href="css/mystyles.css">

</head>

<body class="bg-default"> <!--Nav Start --> <nav class="navbar navbar-toggleable-md navbar-light bg-faded navbar-inverse bg-inverse navbar-fixed-top navbar-fluid"> <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <a class="navbar-brand" href="#">Logo Goes Here</a> <div class="collapse navbar-collapse" id="navbarNavAltMarkup"> <div class="navbar-nav"> <a class="nav-item nav-link active" href="#home">Home <span class="sr-only">(current)</span></a> <a class="nav-item nav-link" href="#about">About</a> <a class="nav-item nav-link" href="#speakers">Speakers</a> <a class="nav-item nav-link" href="#scedule">Scedule</a> <!-- <ul class="nav navbar-nav navbar-right">--> <a class="nabvar-brand my-2 my-lg-0" href="https://teamtreehouse.com/home">Prersented by Treehouse</a> <span class="navbar-text my-2 my-lg-6"> Navbar text with an inline element </span> <!-- </ul>--> </div> </div> </nav> <!--nav end-->

<!--jumbotron start --> <div class="jumbotron jumbotron-fluid bg-info"> <div class="container text-center bg-info"> <h1 class="display-2">Full Stack Conf</h1> <p class="lead">One Day Conferenece about all thing Javascript</p> <div class="btn-group m-t-2" role="group" aria-label="Basic example"> <button type="button" class="btn btn-primary btn-lg">Register Now</button> <a class="btn btn-secondary btn-lg" href="#speakers">See Speakers</a> </div> </div> </div> <!--jumbotrone end jumbrotron jumbrotone-fluid -->

<div class="container text-center"> <p class="lead m-b-3">Coming Soon, a One day conference about all things Javascript</p>

 <div class="col-lg-6 col-md-offset-3">
<div class="input-group">
  <input type="text" class="form-control" placeholder="Enter Your Email for Info...">
  <span class="input-group-btn">
    <button class="btn btn-primary" type="button">Sign Up</button>
  </span>
</div>

</div> </div>

  <div class="container pt-5 text-justified">

<!-- about --> <div class="row"> <div class="col-sm-6 col-sm-push-3"> <!-- when pushing or pulling column do opposite example "col-sm-6 col-sm-push-3" "col-sm-3 col-sm-pull-6"> --> <h3 class="mb-4">About Full Stack Conf</h3> <img class="img-fluid rounded hidden-xs-down" src="images/portland.jpg" alt="portland Conference" width="100%"> <p>The beautiful city of Portland, Oregon will be the host city for Full Stack Conf!</p> <p>Explore the future of JavaScript with a lineup of industry professionals. Discover new techniques to advance your career as a web developer.</p> </div> <div class="col-sm-3 col-sm-pull-6"> <h3>Expert Speakers</h3> <p>Our expert speaker lineup was just announced, so don't wait too long before grabbing your tickets!</p> <p>Want to meet the international JavaScript community and share skills with some of the world's top experts, hackers, and makers? Be the first to know what to expect for the future of JavaScript.</p> <p>Full Stack Conf is committed to being inclusive and welcoming for everyone. We look forward to another intensive day of learning and sharing.</p> </div> <div class="col-sm-3"> <h3>What You'll Learn</h3> <div class="list-group"> <a href="#" class="list-group-item"><strong>MongoDB</strong> NoSQL database</a> <a href="#" class="list-group-item"><strong>Angular</strong> JavaScript framework </a> <a href="#" class="list-group-item"><strong>Express</strong> Framework for Node</a> <a href="#" class="list-group-item"><strong>Node.js</strong> JavaScript environment</a> <a href="#" class="list-group-item"><strong>ES2015</strong> Latest version of JavaScript</a> <a href="#" class="list-group-item"><strong>Babel</strong> JavaScript compiler</a> </div> </div> </div><!-- /about end-->

<!-- speakers --> <h1 id="speakers" class="display-4 text-center my-5 text-muted">Speakers</h1> <div class="row"> <div class="col-md-6 col-lg-4"> <div class="card mb-3"> <img class="card-img-top img-fluid" src="images/angie.png" alt="Card image cap"> <div class="card-block"> <h4 class="card-title">Angie McAngular</h4> <p class="card-text">Angie is a web developer and tutor is is passionate about building data driven apps.</p> </div> </div> </div>

<div class="col-md-6 col-lg-4"> <div class="card mb-3"> <img class="card-img-top img-fluid" src="images/nodestradamus.png" alt="Card image cap"> <div class="card-block"> <h4 class="card-title">NodeStradamus</h4> <p class="card-text">"NodeStra" is a software engineer and philosopher trying to leave the world better than he found it. He codes for non-profits, eCommerce, and large-scale web apps.</p> </div> </div> </div>

<div class="col-md-6 col-lg-4"> <div class="card mb-3"> <img class="card-img-top img-fluid" src="images/geo.png" alt="Card image cap"> <div class="card-block"> <h4 class="card-title">Geo "Lo" Cation</h4> <p class="card-text">Geo is a JavaScript developer working on large-scale applications. He's also a teacher who strives to support students in removing all barriers to learning code.</p> </div> </div> </div> <div class="col-md-6 col-lg-4"> <div class="card mb-3"> <img class="card-img-top img-fluid" src="images/jay.png" alt="Card image cap"> <div class="card-block"> <h4 class="card-title">Jay Query</h4> <p class="card-text">Jay is a developer, author of CSS: The Missing Manual, JavaScript & jQuery: The Missing Manual, and web development teacher.</p> </div> </div> </div>

 <div class="col-md-6 col-lg-4">

<div class="card mb-3"> <img class="card-img-top img-fluid" src="images/ecma.png" alt="Card image cap"> <div class="card-block"> <h4 class="card-title">Ecma Scriptnstuff</h4> <p class="card-text">Ecma found her passion for computers and programming over 15 years ago. She is excited to introduce people to the wonderful world of JavaScript.</p> </div> </div> </div>

 <div class="col-md 6 col-lg-4">

<div class="card mb-3"> <img class="card-img-top img-fluid" src="images/json.png" alt="Card image cap"> <div class="card-block"> <h4 class="card-title">Json Babel</h4> <p class="card-text">All of his professional life, Json has worked with computers online; he is a polyglot programmer and likes using the right tools for the job.</p> </div> </div> </div>

<!-- schedule --> <ul class="list-group" id="schedule"> <li class="list-group-item list-group-item-action flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> <h5 class="mb-1">Keynote: Internet of Things</h5> <span class="badge badge-default badge-pill bg-info px-2 py-2 mt-2">9:00am</span> </div> <p class="mb-1">NodeStradamus</p> </li> <li class="list-group-item list-group-item-action flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> <h5 class="mb-1">Angular Basics</h5> <span class="badge badge-default badge-pill bg-info px-2 py-2 mt-2">10:00am</span> </div> <p class="mb-1">Angela McAngular</p> </li> <li class="list-group-item list-group-item-action flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> <h5 class="mb-1">Hey, Mongo!</h5> <span class="badge badge-default badge-pill bg-info px-2 py-2 mt-2">11:00am</span> </div> <p class="mb-1">Jay Query</p> </li> <li class="list-group-item list-group-item-action list-group-item-success flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> <h5 class="mb-1">Lunch</h5> <span class="badge badge-default badge-pill bg-info px-2 py-2 mt-2">12:00pm</span> </div> <p class="mb-1">Free pizza for everyone.</p> </li> <li class="list-group-item list-group-item-action flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> <h5 class="mb-1">Introducing ES2015</h5> <span class="badge badge-default badge-pill bg-info px-2 py-2 mt-2">1:00pm</span> </div> <p class="mb-1">Ecma Scriptnstuff</p> </li> <li class="list-group-item list-group-item-action flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> <h5 class="mb-1">Gettin' MEAN</h5> <span class="badge badge-default badge-pill bg-info px-2 py-2 mt-2">2:00pm</span> </div> <p class="mb-1">Geo "Lo" Cation</p> </li> <li class="list-group-item list-group-item-action flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> <h5 class="mb-1">What's Babel? </h5> <span class="badge badge-default badge-pill bg-info px-2 py-2 mt-2">3:00pm</span> </div> <p class="mb-1">Json Babel</p> </li> </ul><!-- /schedule --> </div>

<!--callout button--> <button type="button" class="btn btn-outline-info btn-lg d-block mx-auto my-5">Don't miss out, register now</button>

<!-- signup form --> <hr> <div class="row py-4 text-muted"> <div class="col-sm-7"> <p><strong>About Treehouse</strong></p> <p>Treehouse brings affordable technology education to people everywhere to help them achieve their dreams and change the world.</p> </div> <div class="col-sm-5"> <p><strong>Stay up-to-date on Full Stack Conf</strong></p> <div class="input-group"> <input type="text" class="form-control" placeholder="Email"> <span class="input-group-btn"> <button class="btn btn-primary" type="button">Sign up</button> </span> </div> </div> </div> <hr><!-- /signup form -->

<!--footer--> <div class="row py-3 fluid"> <!--footer need fixing for mobile --> <div class="col-md-7"> <!--base nav bootsrap--> <ul class="nav"> <li class="nav-item"> <a class="nav-link active" href="#">Community</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Tracks</a> </li> <li class="nav-item"> <!-- Example split danger button --> <div class="btn-group dropup"> <button type="button" class="btn btn-secondary">Other Conf</button> <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="sr-only">Toggle Dropdown</span> </button> <div class="dropdown-menu"> <a class="dropdown-item" href="#">HTML and CSS Conf</a> <a class="dropdown-item" href="#">Javascript</a> <a class="dropdown-item" href="#">Jquery</a> <a class="dropdown-item" href="#">Bootstrap</a> </div> </div> </li> </ul> </div> <div class="col-md-5 text-md-right"> <small>© 2016 Full Stack Conf & Treehouse</small> </div> </div> <!--/footer--> </div><!--container end-->

<!-- jQuery first, then Bootstrap JS. -->
<script src="jquery/jquery-3.2.1.min%20(2).js"></script>
<script src="bootstrap-4.0.0-alpha.6-dist/js/bootstrap.min.js"></script>

</body> </html>

1 Answer

Can You provide full formatted code? Just reading the question the answer may be related to: