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
Kelvin Atawura
Front End Web Development Techdegree Student 19,022 Pointsbootstrap glyphicons
l am currently working on building a website with bootstrap with Guil Hernandez in framework island. i am however struggling a bit with how to make my glyphicon for my right arrow to appear to in my submit botton. I keep getting this litle box inside of my arrow. my code is as below. thanks for your help in advance guys
<!-- Panel -->
<div class="panel panel-default hidden-xs">
<div class="row">
<div class="col-sm-5 col-sm-offset-1">
<form>
<p><strong>Enter your number and we'll text you a link</strong></p>
<label class="sr-only">Phone Number</label>
<input class="form-control phone-txt" type="text" placeholder="Phone Number">
<button class="btn btn-submit" type="submit">
<span class="glyphicon glyphicon-arrow-right"></span>
</button>
</form>
</div>
<div class="col-sm-5">
<p><strong>Or visit an app store to download now!</strong></p>
<a class="btn btn-default btn-lg" href="#">iOS</a>
<a class="btn btn-default btn-lg" href="#">Android</a>
</div>
</div>
</div><!-- End panel -->
2 Answers
James Barnett
39,199 PointsLooks like it works fine to me.
Sonya K. Bailey
18,108 PointsI haven't taken this class yet but I had a problem with bootstrap glyphicons once that was solved when I included the fonts folder (that bootstrap provides) in the root directory of my project. It seems to read from the fonts folder instead of images. Not sure if that applies but thought I'd reply just in case.
Kelvin Atawura
Front End Web Development Techdegree Student 19,022 PointsKelvin Atawura
Front End Web Development Techdegree Student 19,022 Pointsjust check your work on codepen James Barnett and realise its using bootstrap 3.l fink the code in project files were bootstrap 2 would this be the reason why?
James Barnett
39,199 PointsJames Barnett
39,199 Pointstl;dr If you link to bootstrap 3 files your code should work just fine.
>l fink the code in project files were bootstrap 2 would this be the reason why?The project files are in bootstrap 3 if you look in the project files,
startfolder,jsfolder,bootstrap.jsfile.At the top of the file it says
Bootstrap: modal.js v3.0.0.So that leads me to conclude that the project files use bootstrap 3 as does the code taught in the videos.