<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-s...
#include <iostream> using namespace std; int main() { cout << 1 << 2 << 3 << '\n' << 4 << 5 << '\n'; return 0; }
class Customer: def __init__(self): self.sum = 0 def take_food(self, price): self.sum += price def take_softdrink(self, price): self.sum += price ...
public class MultiplicationTable { public static void main(String[] args) { for(int i = 1; i <= 9; i++) { for(int j = 1; j <= 9; j++) { System.out....
def read_data_from_file(filename): try: with open(filename, 'r') as file: data = file.readlines() data = [line.strip() for line in data] r...
const canvas = document.getElementById('analogClock'); const ctx = canvas.getContext('2d'); // Center const radius = (canvas.width / 2) - 10; const centerX = (canvas.width...
function drawDigitalClock() { const canvas = document.getElementById('clockCanvas'); const context = canvas.getContext('2d'); const now = new Date(); const hours = n...
function randomt(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; } const randomValue = random(1, 10); console.log(randomValue);
select "Hello Wolrd!"
/*/*<html>*/ /*<a href="#">スイカの種飛ばすなよ!</a>の文字を黒にしましょう*/ /*アンダーラインあるらしい?設定なので消してください*/ a { color: #000; text-deco...
<?php echo "としき";
<!DOCTYPE HTML> <html lang="ja"> <head> <meta charset="utf-8"> <title>3カラムレイアウト</title> <link rel="stylesheet" href...
<!DOCTYPE html> <html> <body> <h1>Headline</h1> <div style="background-color:green;color:white; padding:20px;"> <p>...
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>link要素サンプル</title> <link rel="previous&q...
<!DOCTYPE html> <html> <head> <title>My Blog</title> <link href="http://fonts.googleapis.com/css?family=Handlee" rel="styles...
<!DOCTYPE html> <html> <head> <title>first page</title> </head> <body> <p>this is a paragraph</p> &l...
<!DOCTYPE html> <html> <head> </head> <body> <h1>Progateとは</h1> <p>オンラインプログラミング学習サービスです</p> </b...
.box{ width: 290px; height: 100px; margin: 0; padding: 4px 6px; font: 28px "Marker Felt", "Zapfino", cursive; display: flex; justify-content: center; ali...
.wrapper { width: 620px; height: 110px; margin: 0; padding: 10px; border: 6px solid mediumturquoise; }
<div class="wrapper"> <div class="box boxLeft"> <p> This is the first box. </p> </div> <div class="box boxRight&q...
.footer-logo{ font-size: 32px; float: left; } .footer-list{ float: right; } .footer-list li{ padding-bottom: 20px; }
li{ float: right; }
.logo{ padding: 20px 10px 20px 10px; } .logo{ padding: 20px 10px; }
.logo1 { padding: 20px; }
li{ list-style: none; float: left; }
.header-logo{ float: left; font-size: 36px; }
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>progate</title> <link rel="stylesheet" href="styleshee...
<p>これは 例です</p> <p>ここで<br>改行します。</p>
<ol> <li>ひとつめの項目</li> <li>ふたつめの項目</li> <li>みっつめの項目</li> </ol>
<ul> <li>ひとつめの項目</li> <li>ふたつめの項目</li> <li>みっつめの項目</li> </ul>