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
Binary file added .DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions elias.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

$(document).ready(function() {
$("h1").html("Look at me Now!");
$("h4").append("<ol><li>parents</li><li>children</li><li>filter</li><li>find</li></ol>");
$(".sad").removeClass().addClass("happy");
$(".blink a").attr("href", "http://www.cashcats.biz");
$(".suggested-topics ul li:nth-child(7)").html("Wicked widgets")
$(":text").replaceWith("<textarea>Tell me a story!</textarea>")


});

1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
<script type="text/javascript" src="elias.js" ></script>
</head>
<body>
<header>
Expand Down
5 changes: 3 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ form{
color: orange;
}
#annoying-popup{
position: absolute;
right: 10px;
background-color: red;
color: white;
position: absolute;
top: 10px;
top: 40px;
height: 100px;
}
/* What, you like awful '90's blink tags?
Expand Down