Answer the question
In order to leave comments, you need to log in
I have only been studying C++ for a month, where can I find a mentor who will help me solve problems?
When performing tasks, I can’t understand how the program should work, how to write it, how to start it
Answer the question
In order to leave comments, you need to log in
Start with easier tasks.
If you cannot solve a simple problem for about a week, then write here, we will help. And if you can’t solve a simple problem for 5 whole minutes, then keep thinking, because in this case, there will be zero benefit from a ready-made solution in terms of learning.
Do not tie the program to a specific PL, take simple tasks, write what the program should do.
For example: Calculate the area of a rectangle. Over time, you will understand how it works, the main thing is to practice and don’t give up after the first task, if your soul is lying, then everything will work out, but if it doesn’t, then no mentor you are looking for will help. There is also a lot of information on google for beginners.
It's funny, the admin didn't ban the question. Kind today?
On the topic: avito, freelance exchanges, you can on this resource.
You ask one of the blocks
position: fixed;
width: 50%;
height: 100%
You have been given the correct answers, but there is another one.
You are creating 2 boxes, each with 100% height and 50% width. Use position to arrange them. Since the height of the right block is set to 100%, it cannot go beyond this frame, and since the content of the content does not fit into the provided size, the block creates scrolling for itself. It is this method that is used on the site with your example.
For the future, it often happens that it is curious how the site is built, in each browser there is such a function as "Developer Tools" (in chrome it is called that way, in other browsers the name may change slightly). Go to it and you can see how the site works.
<body>
<div class="left">
//здесь размещаете картинку, можно даже самому этому диву назначить ее через background
</div>
<div class="right">
//здесь размещаете информацию
</div>
</body>
.left{position: absolute; left: 0; top: 0; height: 100vh; width: 50%;}
.right{position: absolute; right: 0; top: 0; height: 100vh; width: 50%;}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question