Skip to content

Commit 5a98fb5

Browse files
committed
Your turn for CSS.
1 parent 67b4e3a commit 5a98fb5

File tree

2 files changed

+32
-28
lines changed

2 files changed

+32
-28
lines changed

days/013-016-css-basics/your-turn/README.md

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,55 @@
11
# Days 13 - 16: CSS Basics
22

3-
Now you have seen the videos from this chapter, you're ready to start experimenting with HTML & HTML 5. But don't sweat the web design yet. We'll stay focused on the 90's for our sites so we get the native unstyled feel working for us.
3+
Now you have seen the videos from this chapter, you're ready to start exploring the world of CSS.
44

55
## Day 1: Watch the video lessons
66

77
The watch the videos and keep track of where you might want to grab some examples. Remember you have everything you saw typed in the demos folder adjacent to this one if you need them.
88

9-
## Days 2-3: Recreate Google's homepage
9+
## Days 2: Play with the selectors
1010

11-
For your hands-on exercises during this chapter, you'll do something quick and easy: recreate Google!
11+
Today you get to play with CSS selectors. These are incredibly important because the way you target elements in CSS files are by specifying the selectors.
1212

13-
While I made fun of Yahoo! for being nothing but a glamorized Yellow Pages, the tech behind Google was truly revolutionary at the time.
13+
Open the selector section of our demo app (from the videos). It's located adjacent to this foyer:
1414

15-
But their web design was decidedly not special. Check it out in the way back machine (choose 1998 for your time frame):
15+
`013-016-css-basics/demos/selectorville/selectors.html`
1616

17-
[https://web.archive.org/web/19981202230410/http://www.google.com/](https://web.archive.org/web/19981202230410/http://www.google.com/)
17+
Remember that you can just open that file directory from your hard drive.
1818

19-
Here's the design with a few visual notes on what is required for each part of the page (yes, tables make a comeback). No really, view the source, it's tables and the center tag even!
19+
Use the "What can I use" dialog to find some interesting things to query and highlight. Look at the source code of the HTML file to find other interesting CSS selectors to run as well.
2020

21-
![](./google-1998-marked-up.png)
21+
## Day 3: Build a nav out of a UL
2222

23-
Your job is to recreate this home page. Feel free to save the Google logo from the way back machine for your page (right-click, save image as...). Then recreate the home page with forms and validation per the graphic above.
23+
In the Layout demo part of the you saw that we can convert a HTML list into a navigational element by changing the display and other CSS properties.
2424

25-
If you are unfamiliar with HTML tables, here's a primer:
25+
On this day, use a similar technique to convert a list of hyperlinks into the Talk Python To Me podcast's site navigation:
2626

27-
```
28-
<table border="0" width="90%">
29-
<tr>
30-
<td bgcolor="#EEEEEE">
31-
column details here...
32-
</td>
33-
<td bgcolor="#EEEEEE">
34-
column details here...
35-
</td>
36-
<td bgcolor="#EEEEEE">
37-
column details here...
38-
</td>
39-
</tr>
40-
</table>
41-
```
27+
![](talk-python-nav.png)
4228

29+
Don't worry about the big image below or the Linode ad banner. Just recreate the nav over at [https://talkpython.fm/](https://talkpython.fm/) from something like:
4330

44-
## Day 4: Use the data model
31+
- TalkPython['Podcast']
32+
- Episodes
33+
- Python Courses
34+
- Friends of the show
35+
- Patreon
36+
- Contact
4537

46-
Imagine Google more like it is today, with services that require a dedicated account.
38+
Bonus points if you can recreate the search graphic using [font-awesome](https://fontawesome.com/icons) (as it was originally created).
4739

48-
Extend your basic Google homepage to have a register page (link to a second HTML file). Use what you learned about input validation and HTML forms to build the nicest registration form you can without worrying about design just yet.
40+
## Day 4: Research Bootstrap themes
41+
42+
While we did not have time to cover [Bootstrap](https://getbootstrap.com/) and the rich theme ecosystem, it is very helpful when building web applications and speeding up the design process.
43+
44+
So, this day is to dream a little. Imagine some cool business or product you'd like to create some day or maybe your company is working on but has a poor design.
45+
46+
Then visit Wrap Bootstrap, a commercial theme site:
47+
48+
[https://wrapbootstrap.com/](https://wrapbootstrap.com/)
49+
50+
Yes, you would have to buy these themes, but they are often just $20 once for a whole web design. Your goal is to search around here and find 3 potential themes as the starting point for your new website for your product or service.
51+
52+
You don't have to build anything. We just want you to get a little exposure to the idea of themes and Bootstrap.
4953

5054
### Time to share what you've accomplished!
5155

164 KB
Loading

0 commit comments

Comments
 (0)