-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5f3c7e
commit 8969507
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>repeat_lesson-9</title> | ||
</head> | ||
<body> | ||
|
||
|
||
<div class="point">qwe</div> | ||
<div class="point">asd</div> | ||
<div class="point">zxc</div> | ||
|
||
<script src="main.js"></script> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// console.log(22); | ||
|
||
|
||
// let s = { | ||
// name: 'asd' | ||
// } | ||
// console.log(s); | ||
// | ||
// | ||
// function ObjCreator(value) { | ||
// this.key = value; | ||
// } | ||
// | ||
// let d = new ObjCreator('vasya'); | ||
// console.log(d); | ||
|
||
|
||
console.log(window); | ||
console.log(window.document); | ||
|
||
console.log(document.title); | ||
document.title = 'hello Okten'; | ||
console.log(document.title); | ||
|
||
|
||
console.log('//////////////'); | ||
|
||
|
||
let element1 = document.querySelector('.point'); | ||
console.log(element1); | ||
|
||
|
||
let allEl = document.querySelectorAll('.point'); | ||
console.log(allEl); | ||
|
||
let divEl = document.getElementsByClassName('point'); | ||
console.log(divEl); | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|