Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
var htmlNode = document.getElementById("adam"); //Document object model(DOM)
var htmlNode = document.getElementById("app"); //Document object model(DOM)
htmlNode.innerText = "change From our javascript code";
})();
9 changes: 9 additions & 0 deletions base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

img{
width: 400px;
height: 200px;
}

li{
list-style: none;
}
Binary file added images/CruizinCarShow2016-11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/CruizinCarShow2016-21.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
<head>
<meta charset="utf-8">
<title>Liz's Gallery</title>
<link rel="stylesheet" type="text/css" href="./base.css"/>
</head>
<body>
<div id="adam">SOmething in here</div>
<div id="app">Cruizin Car Show 2016</div>
<ul id = 'image-list'>
<li><img src='./images/CruizinCarShow2016-21.jpg'/></li>
<li><img src='./images/CruizinCarShow2016-11.jpg'/></li>
</ul>
<script src="app.js"></script>
</body>
</html>