+ Start a Discussion
Ghanshyam Yadav01Ghanshyam Yadav01 


Hi friends, m getting below error in above trailhead,, please help me to solve this issue,
error: The page isn't using the Bootstrap List Group component.
Jun KeJun Ke
How is your page looks like?
Your page should link to bootstrap cdn.
Ghanshyam Yadav01Ghanshyam Yadav01
hi Steven, can u tell me how to link with bootstrap cdn

Arpit Sethi 9Arpit Sethi 9
Hello Ghanshyam,

Try this:-

<apex:page standardController="Contact" docType="html-5.0" recordSetVar="contacts">
  <apex:stylesheet value="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"/>
  <apex:includeScript value="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"/>
  <ul class="list-group">
  <apex:repeat value="{!contacts}" var="c">
  <li class="list-group-item"><apex:outputLabel value="{!c.name}"/></li>

Please mark this as solution if it works for you.

Arpit Sethi