Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Our Futuristic version of the Library Book Sale page is almost done, but before we move on, we need to check the Fallback fonts. We need to make sure the page looks good, even if the fonts don't load. We're still working with the file from the last lesson. If you didn't save yours, that is okay. I've provided a new starting point for this lesson. Just make sure you put your embed code in the document so your Typekit fonts will work on your system.
In the CSS section of the HTML page, let's type a capital X next to each of the font families so that they will break. And let's go ahead and save this and upload it to our servers and view it in our browsers. We can just refresh. Georgia doesn't quite work for our headline. I think that the difference between the bold and the regular is just too subtle. So let's go back and change that.
I think that a better font stack for our universal selector would be Arial, sans-serif, and for the h1, let's also do an Arial black, then an Arial, and then a Sans Serif. And for the lighter version of our h1, that lighter class, let's skip the Arial Black and just do Arial Sans Serif. Go ahead and save this, upload it to our server, and review that in the browser, refresh it. That looks better.
It's a little bit tight to the edge, and I would say the author's name is a little bit close to the headline because we did change that so that it would work better with the Tenby Eight. But we're at least getting that nice contrast between the bold and the regular stroke and then down here, we have the bold and regular fonts, so that looks pretty good. Let's go ahead and take those Xs out of our font families so that our fonts will work. Again, save that, re-upload it to the server one last time, and refresh.
Now we know even if the Web fonts don't work, the heading will still feel strong and the text will work well with the heading.
Get unlimited access to all courses for just $25/month.Become a member
117 Video lessons · 42176 Viewers
119 Video lessons · 53664 Viewers
65 Video lessons · 14080 Viewers
113 Video lessons · 82715 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.