Jump to content
Killersites Community

Mick

Member
  • Content Count

    33
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Mick

  • Rank
    Member
  • Birthday September 5

Profile Information

  • Gender
    Female
  • Location
    San Francisco Bay Area
  • Interests
    (I'm really Michele) Learning, internet marketing, coding, reading
  1. You would take style= and all its attributes out of the HTML file. HTML is just for structure and content. CSS is for display. Your best bet is to start at the beginning of the video series and follow along step-by-step. That means pause the video and do each step yourself. It's a great way to learn.
  2. Mick

    HTML 5 not working in IE 7

    You would also want to add the following to the CSS file right at/near the top: /*html5 display rule */ address, article, aside, canvas, content, details, figcaption, figure, footer, header, hgroup, nav, menu, section, summary { display: block; } As mentioned in a previous post, Google html5 shiv (or shim) and copy/paste the code in the head section. The current (Oct. 2012) code is this: <!--[if lt IE 9]> <script src="dist/html5shiv.js"></script> <![endif]--> I learned the above from Ben Falk in a PHP class.
  3. Mick

    divs, floats, absolute, relative, static,fixed

    Sorry that I can't help, but just wanted to say I enjoyed your description of how you, as a cook, communicate by "grunting and throwing pots". Great for you for enjoying programming, seeking a career change, and saving thousands by teaching yourself with the help of Killersites! Best of luck to you. Flash is about dead in the water, and I am not going to bother learning it. The reason is because Apple does not use it on any of its recent mobile devices, from the iPhone on. Other manufactures will be following suit or already have. In websites, Flash is replaced by newer (or expansion of existing) technology. I''m not sure if your track is Web Designer or Web Programmer (called Front End Engineer in the job listings), but if it's the latter, then concentrate on HTML, CSS, Javascript, and PHP. I got halfway through the basic Dreamweaver course and then decided it's much easier to "hand code" using a good editor, such as Sublime Text 2 (free download, would like you to pay after a trial period, but you can still use), or even Notepad for that matter, than to use Dreamweaver. I guess it's a matter of personal preference.
  4. Sometimes the word of mouth advertising you get from an ecstatic, well-satisfied customer is worth far more than the discount you provide. Just something to consider. (Of course warn the client that the deep discount was only for her, so don't share that info in referrals.) Perhaps you can work out a compromise or barter. For instance, charge the higher rate, but if she can get you another full-pay customer, or design a special piece of jewelry for you, or some other barter--like proofread for you for a set amount of time (you did misspell jewelry), then provide the discount. Stefan gave excellent advice. My post is to give some ways you can maintain your high value and still offer a discount.
  5. Mick

    .php with html 500 error

    This is a modification of my previous reply. As a general rule, you want to keep your PHP code separate from your HTML code as much as possible. The reason is so that a web designer can do what she/he wants with the HTML and CSS without messing up your code. The PHP code is included in the HTML file via an include statement in the head section. In the PHP videos, the PHP and MySQL course, Stefan starts by mixing PHP and HTML in the same file, and ends by separating the two as much as reasonable. Here is a sample resulting HTML file: <!Doctype HTML> <html> <head> <title>Use PHP to Display mySQL Database Table Records</title> <meta charset="utf-8"> <?php include("database-connect-inc.php"); ?> </head> <body> <h1>Use PHP to Display mySQL Database Table Records</h1> <h2>Records Follow:</h2> <p> <?php echo $my_rows; ?> </p> </body> </html>
  6. Mick

    change id value in HTML using Javascript

    (regarding the post above this one:) Why go to w3schools to learn Javascript? The instruction at Killersites is superb, practical, and engaging. It's hands-on learning by doing.
  7. Ben, Thanks so much! You are amazing in how quickly you reply with useful information. I greatly appreciate all that you contribute to Killersites, the forums, and the behind the scenes stuff that I don't know about. PS: Maybe you can make the suggested course order a sticky post on the PHP forum.
  8. Hello to the Administrators of this great site, Can one of you update the order of the listing of PHP courses available via the Killersites Video Tutorial Library to match the order in which the classes should be taken? For instance, I learned the hard way that my failed attempt at PHP CRUD will probably be successful once I take "PHP and MySQL" (which I am starting today). Yet the CRUD course is listed well-ahead of the SQL one. Could you post the suggested order here right away? I realize changing the production version of a site can take awhile. Thanks so much. PS: If you happen to know the time length of each series and can include that information also, that would be even greater.
  9. Mick

    .php with html 500 error

    So you've been writing stand-alone PHP programs? It's a good way to learn a language, and it seems like you've come a long way in knowledge, so kudos to you. I like the Killersites approach better, where early on you have practical web programming instruction-- integration-- such as PHP embedded in HTML. In just the 2nd course, "More PHP", I completed a well-taught project using PHP, HTML, Javascript, and jQuery to display posts from an RSS feed onto a web page. To answer your question, yes, you would change the file type. So, instead of the HTML file being index.html, for instance, it would be index.php. This is done often. The browser will still interpret the HTML (via the html tag), CSS, and Javascript (by default in HTML5, with type= in earlier versions), and jQuery with the src library included in the (javascript) script type tag. I don't know if it a "best practice," but it is a very common one. I don't have enough knowledge to know what alternatives there are (or why you would want to use them). Perhaps someone else can answer those questions.
  10. Mick

    Misc PHP to Load XML Data doesn't work

    Ben, Thanks so much for a fast reply! Yes, that RSS feed works. Students, here are my Tips for Doing the "Use PHP, jQuery & AJAX to Load XML Data" Project: After struggling for a few hours, mostly over careless errors, such as a missing > and using #recenttopics in one place and #recentTopics in another, and writing text/javascript instead of text/css for the style tag for loading the animated gif, and for forgetting an occasional semicolon, I got it to work! You need to go to the jQuery site and download the script-- the minimized version is small. You have to go to ajaxload.info and download an animated gif. I spend far too much time deciding and getting hypnotized by the swirling animations. You have to match names. The jQuery script should be renamed jquery.js, or, alternatively, you can match the name used in index.php to the actual file name. The animated gif name at the time of this post is ajax-loader.gif. Whatever name you get, it has to match your code. I found the size Ben used was too small for the gif, and so increased the height and width to 30px each. (Since it is a circle in a square, height should equal width.) I used Killersites green for my gif color and a transparent background. Of course make sure the four files are in the same folder. You may want to create a special folder just for this project. The 4 files are jquery.js, index.php, getforum.php, and ajax-loader.gif. And use an RSS feed that works! (See Ben's post above this one.) For every class: Follow along with the instrucor, and test as you go. You aren't going to learn nearly as much by passively watching videos as you will learn by DOING each step! This part did not work. Here's my work around. The code in index.php to use addClass() did not work for me. My solution: Remove the statement (the whole line) where addClass("loading") appears in the head, javascript section. Add class="loading" to div id=recentTopics Add an anchor text to class="loading" with href = the file name of your gif The loading gif disappeared as soon as the list appeared, as it is supposed to. This is because the code Ben gave for removeClass() as a sub-function of getforum.php remains in place. Thank you Ben for a Great Segment. Thank you Stephan for Excellent Teaching and the idea to have Ben share. It is such a thrill to get something "complicated" to work. My heart tingled when I saw the RSS feed of posts appear and then again when the animated gif code finally worked. Even though we were mostly spoon-fed, it's a great pleasure to code and see correct results. I hope that even when I become an "old timer", that I still derive a bit of excitement upon successfully completing a coding project. Thank you for providing a gateway to make this a career, and for the superb teaching!
  11. Greetings! In Misc PHP Videos, "Use PHP, jQuery & AJAX to Load XML Data Part 1", the RSS feed that Ben uses is "http://killersites.com/forums/feed/rss/". With all the great changes at Killersites, this URL is no longer valid. Can this video be carried out with another Killersites Forum RSS? If so, which one? Do any more changes need to be made from the instructions in the video? Here is the beginning code to test being able to obtain the feed file: <?php $file = "http://killersites.com/forums/feed/rss/"; $xml = simplexml_load_file($file); echo "<pre>"; print_r($xml); echo "</pre>"; ?> Once that works, the echo/print/echo statements are removed, and each rss item is made part of a list with this code: echo "<ul>"; foreach($xml->channel->item as $item) { echo "<li><a href='$item->link'>$item->title</a></li>"; } echo "</ul>"; Capturing the Killersites RSS Forum feed seems like a really cool thing to do. Perhaps if someone can help me figure it out, I can set up an affiliate marketer web page for selling Killersite Store DVDs. I think the courses are fantanstic, and I highly recommend them.
  12. In the same HTML5 CSS3 and JQuery course, for the rounded corners question, border-radius:10px; -moz-border-radius:10px; was incorrect (no spaces after the colon), but the "given" answer was correct: border-radius: 10px; -moz-border-radius: 10px; One does not need spaces after the colon. In fact, the previous attributes in the sample code do not have spaces.
  13. Hi, The courses and instruction are great! This is a minor complaint that a little tweaking can fix. Perhaps this thread can be used for similar tweaks needed with other courses. The problem is that on occassion, a correct answer is given, but the validation process does not accept the answer as correct. The correction is to update the validation for those answers. Two examples: In the HTML5 CSS3 and JQuery course, an answer to update the HTML tags to HTML5 was considered incorrect. In comparing the given answer (obtained after "giving up") to the one I had, the only difference was this meta tag: <meta charset=utf-8> vs. <meta charset=UTF-8> Clearly, both are correct, but submitting the "wrong" case yielded an error. In the same course, in the Intro to CSS3, video 2 Intro to Crossbrowser Compatability, Question 2, we are asked to "Add the html5shiv script for older versions of IE" The website is given, so one just has to copy/paste. Well, the code has changed since the course was written, so the new code is marked wrong. Asking for the answer so that one could paste in the former answer and move on was not helpful-- it referred to the same site. In creating new course content, it may be wise to not ask a question that has an answer that is likely to change, such as a script on another site. It might also be a good idea to check validation scripts so that correct answers are not deemed incorrect. Aside from these minor flaws, the teaching and flow of the Killersites University courses are excellent and a pleasurable way to learn.
  14. Mick

    problem in overlapping div

    I don't really understand your question, sorry. Are you saying that you no longer want a drop-down menu for navigation, because when you "drop down" a menu, it covers the content of something else, and you don't like that? And therefore, you would like a drop-up menu? Have you tried playing around with the arrangements of the slideshow and the navigation bar? for instance, how about putting the navigation below the slideshow banner?
×