background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "JavaScript для начинающих | #9 if, else в JavaScript. Условный оператор "?"

input logo icon
Video tags
|

Video tags

artprograms
javascript
js
уроки javascript
джаваскрипт
javascript уроки
основы javascript
javascript уроки с нуля
javascript видео уроки
javascript для начинающих
уроки javascript с нуля
javascript 2021
javascript основы
уроки js
изучение if else в javascript
artprograms if else
оператор if в javascript для начинающих
else if в js для начинающих
условный оператор if js для начинающих
if js
программирование
if javascript
else javascript
switch case javascript
if
else
javascripкурс
for
es6
условныйоператор
тернарныйоператор
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:02
video we will look at the
00:00:03
operator was java-script I started
00:00:07
let's move on to fike script. Jess and
00:00:10
consider the if statement, write
00:00:15
the variable x with the value 25 and the
00:00:21
if condition in parentheses of which we indicate the conditions
00:00:26
[music]
00:00:28
let's say x is greater than ten
00:00:32
and if the result is ru based on the results of
00:00:38
fulfilling this condition, then the
00:00:41
block of code is executed and let's
00:00:46
display the slave in the console, save it and let's
00:00:54
see what will be displayed in
00:00:55
the browser
00:00:57
as we see, since our conditions are correct and
00:01:01
we have received the values ​​of slave, if
00:01:08
we want to execute more than one
00:01:10
instruction, then we need to include a block of code in
00:01:13
curly braces, let's do this, we
00:01:20
create curly braces and
00:01:23
write
00:01:26
[music]
00:01:34
we save two instructions and launch our browser and we
00:01:39
already get two values
00:01:42
[music] it
00:01:46
is recommended to always use
00:01:48
curly braces even if
00:01:51
only one command is executed,
00:01:53
this improves the readability of the code next
00:02:01
let's look at a block such as
00:02:06
alles the if statement may contain an
00:02:09
optional lc block in other
00:02:13
words
00:02:14
otherwise it is executed when the condition is false
00:02:18
for example
00:02:20
[music]
00:02:26
[music]
00:03:01
then we will write our if statement and
00:03:05
set the conditions
00:03:08
[music]
00:03:26
then we will display an alert and write
00:03:35
yes you are an expert
00:03:46
then we will write our blog lc that is, how do
00:03:50
we remember if a condition is a given condition for
00:03:55
us it doesn’t match, it
00:03:58
will automatically jump to lc,
00:04:01
then we will write an alert inside of which
00:04:07
we will set but this is not correct
00:04:16
[music]
00:04:23
save, restart the page, set the
00:04:31
current year and as we see we get
00:04:36
an alert with the value
00:04:38
yes, you are an expert if we have
00:04:44
several conditions then we use lc iv
00:04:51
sometimes you need to check several
00:04:54
variants of conditions for this we will now
00:04:57
look at became so if
00:05:04
[music]
00:05:34
[music]
00:05:41
[music]
00:06:06
we will set the first condition if it is
00:06:13
true we will display an alert with the
00:06:20
value too small
00:06:28
[music]
00:06:31
Next we will set all so if the condition of
00:06:38
which will be
00:06:42
[music]
00:06:53
more than 24
00:06:56
[music]
00:07:02
[music]
00:07:11
with the value
00:07:13
too much Next we will specify the elso
00:07:21
alert block Save it correctly and
00:07:42
let's see what will be displayed in our
00:07:45
browser Let's say 21 Too little
00:07:52
Restart our page
00:07:56
Let's say 26 too much and launch
00:08:03
our page
00:08:05
correctly, then let's write the next
00:08:10
entry,
00:08:14
we'll comment out what we've discussed, and we'll uncomment this
00:08:21
[music]
00:08:27
save and write it all using the
00:08:32
ternary operator, set the
00:08:40
resort variable, which will all contain
00:08:51
conditions? ? for us it means
00:09:01
the instruction if then for us:
00:09:10
which means elso and we
00:09:17
can hit everything unnecessary, save it and let's
00:09:23
go to the browser to visually
00:09:26
examine this example,
00:09:29
write down 2020 incorrectly, then let's
00:09:36
write down the current year and get a
00:09:41
positive answer
00:09:43
[music]
00:09:44
on this I have everyone subscribe to my
00:09:47
channel like and see you in the next
00:09:49
lessons bye everyone

Description:

В этом уроке речь пойдет об условном ветвлении с помощью инструкции IF, блока ELSE и условного оператора "?". 🚀 Приложение для изучения английского языка в Google Play: https://play.google.com/store/apps/de... 4PDA: https://4pda.to/forum/index.php?showt... 🔴 Весь плейлист с БЕСПЛАТНЫМ курсом и уроками по HTML: https://www.youtube.com/playlist?list... Только начинаете знакомиться с JavaScript? Эти видео для вас: 👉 Плейлист уроков по JavaScript- https://www.youtube.com/playlist?list... 👉 JavaScript для начинающих | #1 Введение в JavaScript https://www.youtube.com/watch?v=06v3a... 👉 JavaScript для начинающих | #2 Правила именования переменных https://www.youtube.com/watch?v=5WHOM... 👉 JavaScript для начинающих | #3 Переменные var ,let и const https://www.youtube.com/watch?v=3EfHc... Twitter: https://twitter.com/ProgramsArt​​​​​​... Instagram: https://www.facebook.com/unsupportedbrowser Вк: https://vk.com/art.programs​​​​​​​​​​ Подписывайтесь на канал Art Programs — здесь Вас ждет много полезных видеороликов из области web-дизайна и web-разработки!

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "JavaScript для начинающих | #9 if, else в JavaScript. Условный оператор "?"" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "JavaScript для начинающих | #9 if, else в JavaScript. Условный оператор "?"" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "JavaScript для начинающих | #9 if, else в JavaScript. Условный оператор "?"" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "JavaScript для начинающих | #9 if, else в JavaScript. Условный оператор "?"" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "JavaScript для начинающих | #9 if, else в JavaScript. Условный оператор "?""?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "JavaScript для начинающих | #9 if, else в JavaScript. Условный оператор "?""?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.