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
1 change: 1 addition & 0 deletions Aiday's jQuery Functions/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Aiday's jQuery Functions/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Aiday's jQuery Functions/.idea/jQuery Functions.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Aiday's jQuery Functions/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Aiday's jQuery Functions/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Aiday's jQuery Functions/.idea/scopes/scope_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Aiday's jQuery Functions/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

186 changes: 186 additions & 0 deletions Aiday's jQuery Functions/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions Aiday's jQuery Functions/css.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

.container{
background-color: lightblue;
width: 970px;
margin:20px;
padding: 20px;
}

h1{
text-align: center;
margin: 5px;
}
button{
display: inline-block;
margin-left: 200px;
width: 100px;
height: 50px;

}
p{
display: inline-block;
margin-left: 100px;

}
ul{

margin-left: 300px;
margin-bottom: 20px;
}
a{
margin-left: 350px;
font-size: 20px;

}
78 changes: 78 additions & 0 deletions Aiday's jQuery Functions/jQuery.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html>
<head>
<head>
<link rel="stylesheet" href="css.css">
</head>
<title>Jquery Functions</title>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<div class="container">
<h1 class="header"> Movies</h1>
<button type="button"> Latest Movies</button>
<p> click the button</p>
<ul> My Favorite Movies
<li> Titanic </li>
<li> Beautiful Mind</li>
<li> Shutter Island</li>
</ul>

<h1 class="header"> Dance</h1>
<button type="button"> Dance Classes</button>
<p> click the button</p>
<ul> Dance Groups
<li> Pgd </li>
<li> Alonzo</li>
<li> Will Be</li>
</ul>


<h1 class="header"> Engineering</h1>
<button type="button"> Bootcamps</button>
<p> click the button</p>
<ul> Bootcamps in Bay Area
<li> Coding Dojo</li>
<li> Hack Reactor</li>
<li> App Academy</li>
<h2> The End</h2>
<button class="append">Crack the Coding Interview</button>
<div class="result"></div>
</ul>


<a href="#">More information</a>
</div>
<script>
$(document).ready(function(){

$('h1').click(function(){
alert('hello');
});
$('button').click(function(){
$('button').css('background-color','red')
});
$('li').click(function(){
$('li').slideUp()
});
$('li').click(function(){
$('li').slideDown()
});
$('a').hover(function(){
$('a').slideToggle()
});
$('h2').hover(function(){
$('h2').text('Go Study!!')
$('h2').css('color','red')
});
$('.append').click(function(){
$('.result').append('<h3>Practice! Practice! Practice!</h3>')
});
});


</script>

</body>
</html>