update
This commit is contained in:
parent
79dd19edde
commit
877e4edd3f
5 changed files with 69 additions and 3 deletions
12
go/l1.go
12
go/l1.go
|
|
@ -1,8 +1,14 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "fmt"
|
import (
|
||||||
|
"bufio"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("hello world")
|
read := bufio.NewReader(os.Stdin)
|
||||||
fmt.Println("Hi")
|
fmt.Println("Your name ")
|
||||||
|
name, _ := read.ReadString('\n')
|
||||||
|
fmt.Println("Your name %s", name)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
html/image.jpeg
Normal file
BIN
html/image.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 161 KiB |
34
html/l1.html
Normal file
34
html/l1.html
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>HTML</title>
|
||||||
|
<style>
|
||||||
|
.image {
|
||||||
|
width: 1200px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<h1>Site</h1>
|
||||||
|
</header>
|
||||||
|
<nav>
|
||||||
|
<a href="l2.html">Переход</a>
|
||||||
|
<a href="l3.html">Переход 2</a>
|
||||||
|
<a href="#about">Обо мне</a>
|
||||||
|
</nav>
|
||||||
|
<main>
|
||||||
|
<img src="image.jpeg" alt="пушок" class="image">
|
||||||
|
<p>Сайт</p>
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
<section id="about">
|
||||||
|
<h2>Я да</h2>
|
||||||
|
<p>ДА да</p>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
13
html/l2.html
Normal file
13
html/l2.html
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>HTML2</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<head>
|
||||||
|
<h1>Переход страница</h1>
|
||||||
|
</head>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
13
html/l3.html
Normal file
13
html/l3.html
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>HTML3</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<head>
|
||||||
|
<h1>Сайт 3</h1>
|
||||||
|
</head>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Reference in a new issue