+ 1
How to use this?
It's very severe .I don't understand this
5 Respuestas
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.
0
in python .how to do this?
0
How do you do what? Tarek
0
Nothing :/
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.