function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ghanshyam Yadav01Ghanshyam Yadav01 

https://developer.salesforce.com/trailhead/force_com_dev_intermediate/visualforce_mobile_salesforce1/visualforce_mobile_salesforce1_mobile_frameworks#challenge

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>
  </apex:repeat>
  </ul>
</apex:page>

Please mark this as solution if it works for you.

Thanks,
Arpit Sethi