<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
I’m making a website project for my class. I had the teacher download notepad++ and I plan to send her the my code. I tried to use this code (on notepad++) on my images in order to give it a nicer effect:
```
$(document).ready(function() {
$("img").mouseenter(function() {
$("img").fadeTo("fast", 1);
});
$('img').mouseleave(function() {
$('img').fadeTo("fast",0)
});
});
</script>
<do not remove the three backticks above>
The problem is that it doesn't work on any of my images. By the way they are in a <table>. When I used the same code on code academy though it worked on my images. Is there a difference between Notepad++ and Code academy? Also, is there a way to use this jQuery code only to affect one image at a time?
@dragonflare,
Give us the FULL HTML-code you are using…
here it is:
<html>
<head>
<link rel="stylesheet" type="text/css" href="CSS.css"/>
<style type="text/css">
body {
background-image: url("https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQtorTRr-jC3T666q_t3kShytmEs1YU0MlarWPjyGktkKtTACV2NA");
background-image: height: 60px;
}
a { text-decoration : none;
}
h1 { font-size : 5em;
background-color: white;
}
thead { font-size: 50px;
}
`indent preformatted text by 4 spaces`
#th{ background-color: #ffe6ff;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
}
#bob { background-color:#e6f2ff;
border-top-left-radius: 30px;
border-top-right-radius: 30px;}
td img { height : 200px ;
width : 230px ;
}
div { width : 1000px;
margin: auto;
}
p { background-color:white;
font-size: 23px
}
#radius {border-radius: 10px;}
#right {float:right;
border : 5px solid #ff99cc;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
}
#left {float:left;
border : 5px solid #cce6ff;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
}
#hi {border-bottom-right-radius: 30px;}
#hello {border-bottom-left-radius: 30px;}
</style>
<title> First webpage</title>
</head>
<body>
<div>
<h1 id= "radius"> Happy Birthday </h1>
</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aHNORDgCCOsFVGv2Up98PhJa3iw3IH6JOY7FWPknqquF+CMOxwvtkSmcrDIM8u1D0dMyMWaO9FF6xyy/FTH9J8R2ec/R4vbRJ3bOTAkX1Vie83us4ahwOquZ2KuEVVuysg7VYMN2BfIAXyBp5akJ1FNnonNDVKpnam4aV2b0dTMAMUod1EW804wrYJ7resShg/NZ7Tv3jkPNWekrUyjeCtNbZb0Aw/Y2kjFiHSHm9x+AsFY6enYwANaABpYJaardWyKvurkkRbaZkqbyGZUArbvqktnSKdItBctZqAE9gUXBYPYCh/WAVDIeCNhHi3Naw4FR1URqFpfI1/Gx8EBzz08t/o0G//cxfUlXnpd99OTHDDhncesRfUlXAkQIooomEUUUQFo9GL7YrRnlKPgV6dNceS+qKMro2Pr/MFT113AZKKJS7DbHVu4rN9X1qKKoQeSfrQctUoolTgSafrSusnUUWeS57J5p3XWs1F19UXPk3gV7CV86JRRTouSbnNa5HXUUTkXGglZxaqKJqHxtzTSmCiiqRnTWmTOmksootsWFFvG8EsqJSw5aKKKijbT4im0FSCFFE4K39J1rB7mlRRVEBJIiMwVp9aIUURDrNs5Kwlh3tFFEE5t6aXOGHhp09Yj+pKuGKKJwIooomH//Z"/>
</td>
<td> <img src = "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcROxEbrqYlfhUT1qeeL_UX_28aI0gYu2D_Q8zaes_Zx8qXaA5H7"/>
</td>
<td> <img src = "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRWQwHONGVgO7IT5Y06UeKCKPpGB2cy-_nIwAni33N3uu9Up6agEg"/>
</td>
</tr>
<tr>
<td> <img src = " https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTr6Ye9mR3XnCbtC-Eh5fTlKHrSBSJS6y4_rJnjuTTTw9N0exAD"/>
</td>
<td> <img src = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS7Mk3wA7pSODBX6pq18SVwsnN-i9Kyj7nKJ48sYIrswM7KrMjA"/>
</td>
<td> <img src = "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTBw04RoTIMEk55A7DyiwIioeaxZ0MkI2L5YkAtluU9bpgBVeHEbg"/>
</td>
</tr>
<tr>
<td> <img id="hello" src = "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRkOPqMIpk0BqbT9p7_UrLc8iKG-S-bgEn2xEWB7J8cwQQGAY7j"/>
</td>
<td> <img src = "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTIKhJjEZfj077APkwkj5sSJu2NsUc-PnaDOa6JOzo2Uy8Yd3qKCw"/>
</td>
<td> <img id="hi" src= "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcR2m9KcpnVEEKLs8DeXMpFz-sRBOOHKjLy3CSgu1J68qLTyxQHW"/>
</td>
</tr>
<table id ="left">
<thead>
<th colspan= "3" id ="bob"> Cute Puppies </th>
<tr>
<td> <img src = "https://sp.yimg.com/xj/th?id=OIP.M935222b312661fa59f950081517b86ccH0&pid=15.1&P=0&w=298&h=187"/>
</td>
<td> <img src ="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTOYzA6kZ85TptquhHhOSf2TTRkFpeWYWDlkYeTOygX_S10dkVu0w"/>
</td>
<td> <img src ="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTXWlrfc7Lir68y08tvwZ_cyImKPlRsc-ImKbBoTr8zlMeV-fn9_Q"/>
</td>
</tr>
<tr>
<td> <img src = "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTMwKQSseHFK984R5Bscz08oEQw_UepGvrOg3atmq3HNFf7zFnb"/>
</td>
<td> <img src ="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQsqqyvszOejXFow9AYPBTFbzorm1O18tFMKZHQ-0w1X-PMl-sY"/>
</td>
<td> <img src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQLZU0pBm0wCaE4ckB4AByaRL12MXIBknnRlJ44G7FzBZTB9CywMA"/>
</td>
</tr>
<tr>
<td> <img id="hello" src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQE31pGCptX4fn6JWpL4DjGOw7X8NegBKkT0Cx4dZenLB_NMA3M"/>
</td>
<td> <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSCCTkTvY6ggrypl26r-j9js5cu7R5GWn2YPwRgBdWYx3ol5yi7Ig"/>
</td>
<td> <img id ="hi" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyu6-3ffpPQqA-M-nsF2Haqto1Ooh3DKtYjrkZIPk_GO-kgJ6Z"/>
</td>
</tr>
</table>
</body>
</html>
First off you didn’t close your head tag before adding inline styling, move that outside the head tags
secondly you’re missing the jquery library. Add this to your <head>
section </head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<title> my site </title>
</head>
<style>
</style>
<body>
</body>
</html>
@dragonflare
Here a basic HTML-code
its your problem to shift around with the CSS definitions…
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="CSS.css"/>
<style type="text/css">
body {
background: url(https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQtorTRr-jC3T666q_t3kShytmEs1YU0MlarWPjyGktkKtTACV2NA) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
a { text-decoration : none;
}
h1 {
font-size : 5em;
background-color: white;
}
thead { font-size: 50px;
}
#th{
background-color: #ffe6ff;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
}
#bob {
background-color:#e6f2ff;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
}
td img {
height : 200px ;
width : 130px ;
}
div {
width : 1000px;
margin: auto;
}
p {
background-color:white;
font-size: 23px
}
#radius {
border-radius: 10px;
}
#right {
float:right;
border : 5px solid #ff99cc;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
}
#left {
float:left;
border : 5px solid #cce6ff;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
}
#hi {
border-bottom-right-radius: 30px;
}
#hello {
border-bottom-left-radius: 30px;
}
</style>
<title> First webpage</title>
</head>
<body>
<div>
<h1 id="radius"> Happy Birthday </h1>
</div>
<table id="right">
<thead>
<th colspan="3" id="th">Cute Kittens </th>
</thead>
<tbody>
<tr>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
</tr>
<tr>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
</tr>
<tr>
<td> <img id="hello" src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img id="hi" src="//old-man.jpg"/>
</td>
</tr>
</tbody>
</table>
<table id="left">
<thead>
<th colspan= "3" id="bob"> Cute Puppies </th>
</thead>
</tbody>
<tr>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
</tr>
<tr>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
</tr>
<tr>
<td> <img id="hello" src="//old-man.jpg"/>
</td>
<td> <img src="//old-man.jpg"/>
</td>
<td> <img id="hi" src="//old-man.jpg"/>
</td>
</tr>
</tbody>
</table>
</body>
</html>
Have a read
http://stackoverflow.com/questions/8039094/css-with-background-image-without-repeating-the-image
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout
google search
== the Book ==
jquery [your question] site:developer.mozilla.org
CSS [your question] site:developer.mozilla.org
javascript [your question] site:developer.mozilla.org
[your question] site:jquery.com
[your question] site:getbootstrap.com
== discussions / opinions ==
jquery [your question] site:stackoverflow.com
CSS [your question] site:stackoverflow.com
javascript [your question] site:stackoverflow.com
I found out what was wrong. I used your jQuery library but if forgot to put another script tag to put my code in it. Here is an example of what I did for it to work:
<script type="text/javascript">
$(document).ready(function() {
$("img").mouseenter(function() {
$("img").fadeTo("fast", 1);
});
$('img').mouseleave(function() {
$('img').fadeTo("fast",0)
});
});
</script>
Thank you for all of your help. It helped a lot!
enter coding in Notepadd++
If we run the html code on IE and Google Chrome then image is displaying but not showing in mozilla firefox.