Skip to content

Commit b79d27d

Browse files
committed
creates stephensview.html.erb file and ran the page generatorfile
1 parent c31e16a commit b79d27d

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

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+
2013-02-21 23:45:42 -0500
55
</p>
66

77
<p>

public/stephensview.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<h1> Stephen's example page for schneems homework </h1>
2+
3+
<ul>
4+
5+
<li> I need to get Milk from the grocery store... </li>
6+
7+
<li> I need to get Cookies from the grocery store... </li>
8+
9+
<li> I need to get coconuts from the grocery store... </li>
10+
11+
</ul>
12+
<ul>
13+
14+
<li>I like to eat apples</li>
15+
16+
<li>I like to eat oranges</li>
17+
18+
<li>I like to eat bananas</li>
19+
20+
21+
HELLO THIS WAS WRITTEN IN ALL DOWNCASE AND NOW SHOULD BE CONVERTED TO A UPCASE STRING VIA THE UPCASE METHOD
22+
<br>
23+
2
24+
</ul>

views/stephensview.html.erb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<h1> Stephen's example page for schneems homework </h1>
2+
3+
<ul>
4+
<% ["Milk", "Cookies", "coconuts"].each do |item| %>
5+
<li> <%= "I need to get #{item} from the grocery store..." %> </li>
6+
<% end %>
7+
</ul>
8+
<ul>
9+
<% ['apples', 'oranges', 'bananas'].each do |fruit| %>
10+
<li>I like to eat <%= fruit %></li>
11+
<% end %>
12+
<% x = "hello this was written in all downcase and now should be converted to a upcase string via the upcase method" %>
13+
<%= x.upcase %>
14+
<br>
15+
<%= 1+1 %>
16+
</ul>

0 commit comments

Comments
 (0)