Answer the question
In order to leave comments, you need to log in
How to write a program that will create a file and work as a "journal" in which you can enter new data and save them one by one?
Need to write, open a file, then write (), and close it?
Answer the question
In order to leave comments, you need to log in
If you need to append data to a file, then yes, just open the file with "a" mode.
As with any other program, you need to start by decomposing the problem.
jsfiddle
сделал на ходу, просто в коде, где иконка лупы,
.search__submit {
background: url("./иконка лупы") 0 0 no-repeat;
всмылсе? зачем тебе placeholder справа? там обычная кнопка поиска стилизованная также как сам инпут и без бордера слева
In one of my projects, the icon is displayed through the background-image of the input , there are a lot of options for how to do this, the same label or through the :after pseudo-element of the input , but through bgi it is faster, + you need to position it through bg-position .
Example:
background-image: url(../img/search_icon.png);
background-repeat: no-repeat;
background-position: 170px 7px;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question