This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var main = function() { | |
$('.dropdown-toggle').click(function() { | |
$('.dropdown-menu').toggle(); | |
}); | |
$('.arrow-next').click(function(){ | |
var currentSlide = $('.active-slide'); | |
var nextSlide = currentSlide.next(); | |
var currentDot = $('.active-dot'); | |
var nextDot = currentDot.next(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var main = function() { | |
$('.dropdown-toggle').click(function() { | |
$('.dropdown-menu').toggle(); | |
}); | |
$('.arrow-next').click(function(){ | |
var currentSlide = $('.active-slide'); | |
var nextSlide = currentSlide.next(); | |
var currentDot = $('.active-dot'); | |
var nextDot = currentDot.next(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var main = function() { | |
$('.btn').click(function() { | |
var post = $('.status-box').val(); | |
$('<li>').text(post).prependTo('.posts'); | |
$('.status-box').val(''); | |
$('.counter').text('140'); | |
}); | |
$('.status-box').keyup(function(){ | |
var postLength = $(this).val().length; | |
var charactersLeft = 140 - postLength; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var main = function(){ | |
$('.article').click(function() { | |
$('.article').removeClass('current'); | |
$('.description').hide(); | |
$(this).addClass('current'); | |
$(this).children('.description').show(); | |
}); | |
$(document).keypress(function(event){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet"> | |
<link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css"> | |
<link rel="stylesheet" href="main.css"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet"> | |
<link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css"> | |
<link rel="stylesheet" href="main.css"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet"> | |
<link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css"> | |
<link rel="stylesheet" href="main.css"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav a { | |
color: #5a5a5a; | |
font-size: 11px; | |
font-weight: bold; | |
padding-top: 14px; | |
padding-bottom: 14px; | |
padding-left: 10px; | |
padding-right: 10px; | |
text-transform: uppercase; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet"> | |
<link href="main.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="nav"> | |
<div class="container"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<div class="nav"> | |
<div class="container"> | |
<ul> | |
<li>Ulysses</li> | |
<li>Browse</li> | |
</ul> | |
<ul> |
NewerOlder