Skip to content

Commit 17f9494

Browse files
committed
Setting up branch
setting up branch
1 parent 2afcc17 commit 17f9494

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed

README.md

Whitespace-only changes.

index.html

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>
5+
Hello, how are you?
6+
</title>
7+
</head>
8+
<body>
9+
<header>
10+
<h1>
11+
12+
</h1>
13+
<nav>
14+
15+
<aside></aside>
16+
</nav>
17+
</header>
18+
<main>
19+
<article>
20+
21+
</article>
22+
</main>
23+
<footer>
24+
25+
</footer>
26+
</body>
27+
28+
</html>

scripts/article.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
var Article = function(props) {
2+
this.author = props.author;
3+
this.title = props.title;
4+
this.body = props.body;
5+
this.date = props.date;
6+
}
7+
8+
Article.prototype.toHTML = function () {
9+
return '<article>' +
10+
'<h1>' + this.title + '</h1>' +
11+
'</article>';
12+
}

scripts/blog.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
var blog = {}; //object
2+
blog.articles = [];

scripts/index.js

Whitespace-only changes.

styles/index.css

Whitespace-only changes.

0 commit comments

Comments
 (0)