質問編集履歴
2
答えを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -387,3 +387,317 @@
|
|
387
387
|
}
|
388
388
|
|
389
389
|
```
|
390
|
+
|
391
|
+
答えのコード
|
392
|
+
|
393
|
+
```html
|
394
|
+
|
395
|
+
<!DOCTYPE html>
|
396
|
+
|
397
|
+
<html>
|
398
|
+
|
399
|
+
<head>
|
400
|
+
|
401
|
+
<meta charset="utf-8">
|
402
|
+
|
403
|
+
<title>Progate</title>
|
404
|
+
|
405
|
+
<link rel="stylesheet" href="stylesheet.css">
|
406
|
+
|
407
|
+
</head>
|
408
|
+
|
409
|
+
<body>
|
410
|
+
|
411
|
+
<!-- ここからHTMLを書き始めてください -->
|
412
|
+
|
413
|
+
<div class="header">
|
414
|
+
|
415
|
+
<div class="header-logo">Progate</div>
|
416
|
+
|
417
|
+
<div class="header-list">
|
418
|
+
|
419
|
+
<ul>
|
420
|
+
|
421
|
+
<li>プログラミングとは</li>
|
422
|
+
|
423
|
+
<li>学べるレッスン</li>
|
424
|
+
|
425
|
+
<li>お問い合わせ</li>
|
426
|
+
|
427
|
+
</ul>
|
428
|
+
|
429
|
+
</div>
|
430
|
+
|
431
|
+
</div>
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
<div class="main">
|
436
|
+
|
437
|
+
<div class="copy-container">
|
438
|
+
|
439
|
+
<h1>HELLO WORLD<span>.</span></h1>
|
440
|
+
|
441
|
+
<h2>プログラミングの世界へようこそ</h2>
|
442
|
+
|
443
|
+
</div>
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
<div class="contents">
|
448
|
+
|
449
|
+
<h3 class="section-title">学べるレッスン</h3>
|
450
|
+
|
451
|
+
<div class="contents-item">
|
452
|
+
|
453
|
+
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/html.svg">
|
454
|
+
|
455
|
+
<p>HTML & CSS</p>
|
456
|
+
|
457
|
+
</div>
|
458
|
+
|
459
|
+
<div class="contents-item">
|
460
|
+
|
461
|
+
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/php.svg">
|
462
|
+
|
463
|
+
<p>PHP</p>
|
464
|
+
|
465
|
+
</div>
|
466
|
+
|
467
|
+
<div class="contents-item">
|
468
|
+
|
469
|
+
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/ruby.svg">
|
470
|
+
|
471
|
+
<p>Ruby</p>
|
472
|
+
|
473
|
+
</div>
|
474
|
+
|
475
|
+
<div class="contents-item">
|
476
|
+
|
477
|
+
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/swift.svg">
|
478
|
+
|
479
|
+
<p>Swift</p>
|
480
|
+
|
481
|
+
</div>
|
482
|
+
|
483
|
+
</div>
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
<div class="contact-form">
|
488
|
+
|
489
|
+
<h3 class="section-title">お問い合わせ</h3>
|
490
|
+
|
491
|
+
<p>メールアドレス(必須)</p>
|
492
|
+
|
493
|
+
<input>
|
494
|
+
|
495
|
+
<p>お問い合わせ内容(必須)</p>
|
496
|
+
|
497
|
+
<textarea></textarea>
|
498
|
+
|
499
|
+
<p>※必須項目は必ずご入力ください</p>
|
500
|
+
|
501
|
+
<input class="contact-submit" type="submit" value="送信">
|
502
|
+
|
503
|
+
</div>
|
504
|
+
|
505
|
+
</div>
|
506
|
+
|
507
|
+
</body>
|
508
|
+
|
509
|
+
</html>
|
510
|
+
|
511
|
+
```
|
512
|
+
|
513
|
+
```CSS
|
514
|
+
|
515
|
+
html, body,
|
516
|
+
|
517
|
+
ul, ol, li,
|
518
|
+
|
519
|
+
h1, h2, h3, h4, h5, h6, p,
|
520
|
+
|
521
|
+
form, input, div {
|
522
|
+
|
523
|
+
margin: 0;
|
524
|
+
|
525
|
+
padding: 0;
|
526
|
+
|
527
|
+
}
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
body {
|
532
|
+
|
533
|
+
font-family: "Avenir Next", "Hiragino Kaku Gothic ProN W3", sans-serif;
|
534
|
+
|
535
|
+
}
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
li {
|
540
|
+
|
541
|
+
list-style: none;
|
542
|
+
|
543
|
+
}
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
|
549
|
+
/* ここからCSSを記述してください */
|
550
|
+
|
551
|
+
.header {
|
552
|
+
|
553
|
+
background-color: #26d0c9;
|
554
|
+
|
555
|
+
color: #fff;
|
556
|
+
|
557
|
+
height: 90px;
|
558
|
+
|
559
|
+
}
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
.header-logo {
|
564
|
+
|
565
|
+
float: left;
|
566
|
+
|
567
|
+
font-size: 36px;
|
568
|
+
|
569
|
+
padding: 20px 40px;
|
570
|
+
|
571
|
+
}
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
.header-list {
|
576
|
+
|
577
|
+
float: left;
|
578
|
+
|
579
|
+
}
|
580
|
+
|
581
|
+
|
582
|
+
|
583
|
+
.header-list li {
|
584
|
+
|
585
|
+
float: left;
|
586
|
+
|
587
|
+
padding: 33px 20px;
|
588
|
+
|
589
|
+
}
|
590
|
+
|
591
|
+
|
592
|
+
|
593
|
+
.main {
|
594
|
+
|
595
|
+
padding: 100px 80px;
|
596
|
+
|
597
|
+
}
|
598
|
+
|
599
|
+
|
600
|
+
|
601
|
+
.copy-container h1 {
|
602
|
+
|
603
|
+
font-size: 140px;
|
604
|
+
|
605
|
+
}
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
.copy-container h2 {
|
610
|
+
|
611
|
+
font-size: 60px;
|
612
|
+
|
613
|
+
}
|
614
|
+
|
615
|
+
|
616
|
+
|
617
|
+
.copy-container span {
|
618
|
+
|
619
|
+
color: #ff4a4a;
|
620
|
+
|
621
|
+
}
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
.contents {
|
626
|
+
|
627
|
+
height: 500px;
|
628
|
+
|
629
|
+
margin-top: 100px;
|
630
|
+
|
631
|
+
}
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
.section-title {
|
636
|
+
|
637
|
+
border-bottom: 2px solid #dee7ec;
|
638
|
+
|
639
|
+
font-size: 28px;
|
640
|
+
|
641
|
+
padding-bottom: 15px;
|
642
|
+
|
643
|
+
margin-bottom: 50px;
|
644
|
+
|
645
|
+
}
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
.contents-item {
|
650
|
+
|
651
|
+
float: left;
|
652
|
+
|
653
|
+
margin-right: 40px;
|
654
|
+
|
655
|
+
}
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
.contents-item p {
|
660
|
+
|
661
|
+
font-size: 24px;
|
662
|
+
|
663
|
+
margin-top: 30px;
|
664
|
+
|
665
|
+
}
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
.contact-form {
|
670
|
+
|
671
|
+
padding-top: 100px;
|
672
|
+
|
673
|
+
}
|
674
|
+
|
675
|
+
|
676
|
+
|
677
|
+
input, textarea {
|
678
|
+
|
679
|
+
width: 400px;
|
680
|
+
|
681
|
+
margin-top: 10px;
|
682
|
+
|
683
|
+
margin-bottom: 30px;
|
684
|
+
|
685
|
+
padding: 20px;
|
686
|
+
|
687
|
+
font-size: 18px;
|
688
|
+
|
689
|
+
border: 1px solid #dee7ec;
|
690
|
+
|
691
|
+
}
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
.contact-submit {
|
696
|
+
|
697
|
+
background-color: #dee7ec;
|
698
|
+
|
699
|
+
color: #889eab;
|
700
|
+
|
701
|
+
}
|
702
|
+
|
703
|
+
```
|
1
画像の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,6 +18,12 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
+
追記: 実際の画像を追記させていただきます。
|
22
|
+
|
23
|
+
![イメージ説明](7989e077c02ef1cb206da10d3f7f0c5d.png)
|
24
|
+
|
25
|
+
|
26
|
+
|
21
27
|
```html
|
22
28
|
|
23
29
|
<!DOCTYPE html>
|