Python for Decision Makers and Business Leaders Transcripts
Chapter: Web development with Python
Lecture: The final web design elements
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
The very last element to finish this incredibly simple
0:02
but surprisingly decent little web application
0:06
is to update our templates to use our static CSS
0:09
that we put over here.
0:11
We look at this, we've made a small change.
0:13
We've put some buttons up here and we said
0:15
For each guitar, instead of just putting the name
0:18
put this little section and put the image
0:20
and put the name, and put the price.
0:23
Other than that, we have not yet really changed anything.
0:26
Want to see the difference? Let's find out.
0:30
Man look at that! Isn't that incredible?
0:32
Look, we got this cool web design here
0:35
and we go click on guitars. Bam! There they are.
0:39
We can see our guitars just like before listed on this page.
0:41
Wheezer Classic, Acoustic Black, Mellow Yellow
0:44
but now with just a tiny bit of change in the instrumental
0:47
and a little bit of CSS, we have what I consider
0:49
actually a quite decent looking little website here.
0:53
Super, super cool. We'd have to do one more step to make
0:55
these buttons work right now.
0:57
They can't do their full train
0:58
they just show all the guitars, but that's like
1:01
one more line of code honestly, and then that's it.
1:04
So I'm just going to leave it here, because remember
1:06
the idea is just to give you a sense of what this is like.
1:09
What do you think? Incredible right?
1:11
I mean, look at how amazing this website is
1:14
and then here's the totality of what we put onto that page.
1:19
That's the guitar listing there.
1:22
And over here, this is the entire flask site.
1:26
So when I say Python is easy to use
1:28
it's fairly easy to read.
1:31
You don't have to do too much to get started.
1:33
Well, here it is.
1:34
We could of course make this super advanced;
1:36
do all sorts of things, but the simple version
1:39
this website is actually incredibly simple to put together.
1:43
With just a handful of minutes and here we have it.
1:45
Granted the web design was already done
1:47
but we wrote all the logic of it from scratch.
1:50
That's amazing.