W
W
wolron2021-05-07 16:23:52
JavaScript
wolron, 2021-05-07 16:23:52

How does liking a video on YouTube increase views in my city?

How does liking a video on YouTube increase views in my city?
Interested in the principle itself. Let's say I watched a video on YouTube and liked it.
It came up in the search.
Will the video be shown in the recommended views feed in my city to other YouTube viewers?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AlexKeller, 2018-10-20
@NoName0

Read about closures and handlers

send.addEventListener('click' , function () {
    var saving = Number(document.getElementById('saving').innerText);
    var saving2 = Number(document.getElementById('saving2').innerText);
    document.getElementById('sendOTVET').innerHTML = saving2 - saving;
  });
At the moment the send is clicked, the saving and saving2 blocks have an initial value, because were saved during the first and only pass through the body of the script

D
Dimonchik, 2021-05-07
@dimonchik2013

some

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question