6
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

posted at

updated at

【JavaScript】JavaScript入門

【JavaScript】JavaScript入門

実行

Hello.js
console.log("Good afternoon");

console.log("Good evening");

console.log("Hello");
出力
Good afternoon
Good evening
Hello

条件分岐

Humidity.js
var hum = 50;

if(hum >= 40 && hum < 60){
    console.log("快適です");
}else if (hum < 40){
    console.log("加湿して下さい");
}else {
    console.log("喚起して下さい");
}
出力
快適です

環境構築

windows、コードエディアVSCode、サーバ側で動くJavaScript環境Node.jsをインストール

参考文献

この記事は以下の情報を参考にして執筆しました。
キノコード / プログラミング学習動画のYouTuber

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
6
Help us understand the problem. What are the problem?