A Pen by Tomo-Fjord on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<! DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>カレーのレシピ</title> | |
</head> | |
<body> | |
<article> | |
<h1>誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。</h1> | |
<p>ポイントは玉ねぎと人参はミキサーで細かくしてしまうところ。逆にコクのある美味しいカレーになります。</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(1..100).each do |x| | |
if x % 5 == 0 && x % 3 == 0 | |
puts "FizzBuzz" | |
elsif x % 5 == 0 | |
puts "Buzz" | |
elsif x % 3 == 0 | |
puts "Fizz" | |
else | |
puts x | |
end |