The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Guess the Number</title> | |
</head> | |
<body> | |
<h1>Guess the Number</h1> | |
<input id="user-guess" type="number" /> | |
<button id="submit-guess">Guess</button> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Skillcrush 102 - Make a Timer" /> | |
<title>Make a Timer</title> | |
</head> | |
<body> | |
<h1>Make a Timer</h1> | |
<div id="timer"></div> |
<?php | |
/** | |
* Front to the WordPress application. This file doesn't do anything, but loads | |
* wp-blog-header.php which does and tells WordPress to load the theme. | |
* | |
* @package WordPress | |
*/ | |
/** | |
* Tells WordPress to load the WordPress theme and output it. |
// first method | |
<img src="<?php echo get_stylesheet_directory_uri(); ?>/img/taxi-photo-about.jpg"/> | |
// second method | |
<?php $image_src = wp_get_attachment_url(47459, 'full'); ?> | |
<img src="<?php echo $image_src; ?>"/> | |
// third method | |
<?php $image_id = 47603; | |
echo wp_get_attachment_image($image_id, 'full' ); ?> |
<div class="cover"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-6 col-md-offset-6 welcome"> | |
<h2>Your title</h2> | |
<p class="lead">This text is on the right side of the page</p> | |
</div><!-- .col --> | |
</div><!-- .row --> | |
</div><!-- .container --> | |
</div><!-- .cover --> |
function skillcrushstarter_setup() { | |
// Post thumbnails support | |
add_theme_support('post-thumbnails'); | |
// Register Menus | |
register_nav_menus ( array ( | |
'primary-menu' => __( 'Primary Menu', 'skillcrushstarter' ), | |
'secondary' => __( 'Secondary Menu', 'skillcrushstarter' ), | |
) ); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Random Background Color Changer"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body id="body"> | |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<button id="lolcatButton">Show me the LOLCat!</button> |