+ 1

How to use this?

It's very severe .I don't understand this

18th Nov 2018, 9:44 PM
Tarek Issaoui
5 Answers
0
I don’t understand what you’re trying to say. are you talking about classes in HTML and CSS? if so: putting a class inside a tag will allow you to refer to it in CSS and javascript, etc. classes are usually assigned to things that you want styled the same. For example: HTML: <p class=“example”>p</p> <p class=“example”>p2</p> CSS: .example{ color:red; } This would style both paragraphs to have red text.
18th Nov 2018, 10:03 PM
Yosharu
Yosharu - avatar
0
in python .how to do this?
18th Nov 2018, 10:05 PM
Tarek Issaoui
0
How do you do what? Tarek
18th Nov 2018, 10:09 PM
Yosharu
Yosharu - avatar
0
Nothing :/
18th Nov 2018, 10:11 PM
Tarek Issaoui
0
Classes are like a protection case for data and the functions that work with that data. On the outside of the class you have 'buttons' that help you to use it easily without hurting yourself (the data). You're in that spot right now? In the Python tutorial? Take some time for that, it is a bit harder than what came before. Are you confident with functions? That should be a first.
18th Nov 2018, 11:28 PM
HonFu
HonFu - avatar