Skip to content

Commit 6a0f541

Browse files
committed
Created New Page for Public
Copied Index page and added I like music section. Changed name to Ken
1 parent 71bf3cb commit 6a0f541

3 files changed

Lines changed: 37 additions & 1 deletion

File tree

public/Ken'sPage.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<h1> Hello</h1>
2+
<p>
3+
The time is now:
4+
2014-02-18 13:43:04 -0700
5+
</p>
6+
7+
<p>
8+
My Name is:
9+
Ken
10+
</p>
11+
12+
<ul>
13+
14+
<li>I like to listen to Childish Gambino.</li>
15+
16+
<li>I like to listen to Brand New.</li>
17+
18+
<li>I like to listen to The Devil Wears Prada.</li>
19+
20+
</ul>

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1> Hello</h1>
22
<p>
33
The time is now:
4-
2012-06-16 16:00:08 -0500
4+
2014-02-18 13:43:04 -0700
55
</p>
66

77
<p>

views/Ken'sPage.html.erb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<h1> Hello</h1>
2+
<p>
3+
The time is now:
4+
<%= Time.now %>
5+
</p>
6+
7+
<p>
8+
My Name is:
9+
<%= 'Ken' %>
10+
</p>
11+
12+
<ul>
13+
<% ['Childish Gambino', 'Brand New', 'The Devil Wears Prada'].each do |fruit| %>
14+
<li>I like to listen to <%= fruit %>.</li>
15+
<% end %>
16+
</ul>

0 commit comments

Comments
 (0)