This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Make a Website: Bootstrap Forum

View Course » View Exercise

37 points
E368f9e673f8a4f6321b8a8679844b03?s=140&d=retro
Submitted by
catahoola
about 2 years ago

What is the extra things being added when bootstrap is applied to the code?

Forgive me for the stupid question haha! So my list is going from something like this
<ul>
<li>Name</li>
</ul>

To this when Bootstrap is added.
<ul class="pull-right">
<li><**a href ="#">**Name</a></li>
</ul>

I understand the <ul class="pull-right">, but I am wondering why the bolded portion (a href="#") of the code is added in by bootstrap and what it is doing. Thanks a bunch!


0 votes

permalink

Hi catahoola,

There are no stupid questions!

<a href="#">Name</a> isn't a Bootstrap thing. It is a way to make a bit of text on your page act like a link. Usually you use it when you don't want or don't have the real link ready yet but you'd like to experience that page with text that behaves like a link.

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
about 2 years ago