All right. 1
So how did that go? 2
Well, the first thing that we wanted to change was the font color. 3
And we've actually looked at this before. 4
But if you don't remember it's always a good idea to head over to Google and simply say font color CSS. 5
And if you prefer MDN or W3 Schools, then just enter that as well. 6
And the first thing we get is the color property which sets the foreground color value of an element 7
text content. 8
So that is pretty much what we want. 9
Right? 10
And we can set it using this particular rule using the hex code that I provided. 11
So let's head over to Atom and inside our h1. 12
Let's set the color property to that hex code which was 66BFBF, and we wanted to do the same for 13
our h2, and for our h3 we wanted the color property to be set as 11999E. 14
So now let's hit save and we can already see the previews of our colors, which is roughly what I expected. 15
So now if we head back to our web site, hit refresh, our web site is starting to look very very nice. 16
And we've styled some of our titles to the colors that we were looking for. 17
So the next one we were looking for was the font weight. 18
So let's search for that and see what we get. 19
All right. So we've actually got a property called the fint weight, and you can see there's a whole bunch 20
of ways that you can specify the weight, 21
for example, the keyword values or the actual numeric values. 22
So in our case we actually wanted the keyword ‘normal’ simply, in order to get rid of this bolting here, 23
and to de-emphasize this subtitle. 24
So let's head over to the h2, and let's go ahead and add our font weight over here. 25
And we want to set it to normal. So, hit save. 26
Hit refresh. 27
And there we go. 28
Now it's a little bit lighter in its weight and it looks just a little bit more together. 29
And we've gotten rid of that pre-specified font weight which was determined by our browser where it set 30
it to bold. 31
So now the next one is the line height. 32
So let's go ahead and set our line height for our h1 over here. 33
So line height, we can specify it using a number. 34
So 1 would be the default and 2 would be double height. 35
Now, the important thing to remember about line height is that the preferred way of specifying line height 36
is to give a single value without any units. 37
And in our case we're going to change it to 2. 38
So let's hit save and let's see what that looks like. 39
So that will increase the space between whatever is on top of the text of the h1 here 40
and whatever is below it. Now 41
in my case I don't actually really like the way that looks. 42
But if this more spaced out look is what you like then feel free to keep it this way. 43
But I'm actually going to get rid of this after we've shown exactly how it works. 44
Now our web site is coming along really nicely. 45
And feel free to tweak around the layout or the positioning of any of the elements that you see on 46
our front page here and make it look the way that you want it to. 47
Now in the next lesson we're going to learn about the final positioning system which is floating. 48
And we're going to use what we learn in order to position our Skills blocks to make it look much nicer 49
than the way it looks right now. 50
So for all of that and more I'll see you on the next lesson.