Jump to content
Killersites Community

All Activity

This stream auto-updates     

  1. Yesterday
  2. Rubinelezi

    ES6...?

    Hello! I finished JS course on Studio Web and im was going throught some beginers JS projects on youtube, i was trying my self if i could do them alone and yes i did the projects (which means that the Stef course is amaizing ) but the thing is that i wrote them on ES5 and the author wrote them on ES6. I understood most of the things he wrote but in some cases i lost it. The way he structured the code on ES6 was differnet. What do you think should i learn some ES6, it looks like everyoe is using ES6 now, and is it that hard to learn are thee to many diferences?
  3. administrator

    New To The Community

    Welcome!
  4. The PDF contains the information you are looking for. Contact me directly if you have problems finding things in there: stefan at killersites.com
  5. administrator

    Can't find the Quiz

    Email me at stefan at studioweb.com
  6. I am Xabi Alonso new to the forum and very much in love with the forum Hoping to make some new friends here. Thank You
  7. Hi Stef, I just today purchased your Complete Freelancer course but when i download the zip file it only contains the audio files plus the course outline. The folder is missing all video files plus the templates. Please can you help me with this as i am eager to begin your course. Many Thanks, Ehi Odigie
  8. Last week
  9. LSW

    The Issue of Net Neutrality

    Mitch McConnell declares net neutrality bill "dead on arrival" in the Senate https://www.salon.com/2019/04/10/mitch-mcconnell-declares-net-neutrality-bill-dead-on-arrival-in-the-senate/
  10. Hello, After following along and successfully completing Ben's tutorial of the Online Shopping Cart, I figured I would try and make my own. The first major problem I am having is being able to display my products from my database in my index.php page. The goal is to actually see the images of each product displayed in index.php (like in the tutorial). This would then enable me to add my products to the cart.php page. I've checked the database connection and it does exist. My guess would be that I am using the wrong syntax to display my products in the "fetch_all_products()" method. *** M_PRODUCTS.PHP *** <?php class Products { private $Conn; private $db_table = "toys"; function __construct() { // here we're making sure that the connection from $conn in "init.php" is transferred // into our own private $conn property for usage in this object global $Conn; $this->Conn = $Conn; } // fetches and displays all products from db public function fetch_all_products($id = NULL) { if ($id = NULL) { $data = "<li>"; if ($result = $this->conn->query("SELECT * FROM " . $this->db_table . " ORDER BY name")) { if ($result->num_rows > 0) { while ($row = $result->fetch_array()) { $data .= array( "id" => $row["product_id"], "name" => $row["name"], "price" => $row["price"], "image" => $row["image"] ); } $data .= "</li>"; return $data; } else { return "<h1>Oops... Something went wrong!</h1>"; } } } } } *** INIT.PHP *** <?php // db connection $host = "localhost"; $user = "root"; $pass = "root"; $db = "cart"; $Conn = new mysqli($host, $user, $pass, $db); // error reporting ini_set("display_errors", 1); mysqli_report(MYSQLI_REPORT_ERROR); // constants define("shop_name", "Tremendous Toys"); define("main_path", "localhost/web_apps/shopping_cart/"); define("image_path", "localhost/web_apps/shopping_cart/images/"); // includes include("models/m_shopping_cart.php"); include("models/m_products.php"); // object integrations $Shopping_Cart = new Shopping_Cart(); $Products = new Products(); // session initialisation session_start(); *** INDEX.PHP *** <?php include("init.php") ?> <link rel="stylesheet" href="visual/style.css" type="text/css"> <body> <div id="whitespace"> <h1><?php echo shop_name ?></h1> <?php $Products->fetch_all_products(); ?> </div> </body>
  11. NickBradley

    Can't find the Quiz

    Hey Stef, I also bought the Python course recently and would like access to the quizzing as well. Email is nicolas.bradley@gmail.com Thanks
  12. LSW

    Current Threats

    Popular Video Editing Software Website Hacked to Spread Banking Trojan https://thehackernews.com/2019/04/free-video-editing-malware.html
  13. Earlier
  14. crocodilehun

    CSS3 Foundations-Chapter 5-Lesson 4

    an update.. i've done this: #navigation ul li{ list-style-type: none; line-height: 200% and now it's working. in the very next video you explained this for another purpose but i haven't seen in till now. Thanks
  15. crocodilehun

    CSS3 Foundations-Chapter 5-Lesson 4

    Thanks, but... i've done this at the end of the stylesheet: #navlist { list-style-type: none; line-height: 200%; } and then included it into .html file: <ul id="navlist"> <li><a href=#>Home</a></li> <li><a href=#>Store</a></li> <li><a href=#>Blog</a></li> <li><a href=#>Contact us</a></li> </ul> and it still didn't changed the list style. i've even done this: <ul style="list-style-type:none;"> didn't changed it either.
  16. administrator

    CSS3 Foundations-Chapter 5-Lesson 4

    Just target the navlist ID in your CSS code. No need to specify the tags. Be sure to use the ID selector:
  17. crocodilehun

    CSS3 Foundations-Chapter 5-Lesson 4

    Hi. I this lession you are talking about changing your UL buttons in the navigation bar so that they look like circles and then you set your list-style-type for them to "none". based on that, i've tried to do this: in structure-ch5.css add ul li .navlist { list-style-type: decimal; line-height: 200%; } and then i've tried to add this class in the <nav>: <nav id="navigation"> <h2>The Main navigation</h2> <ul class="navlist"> <li><a href=#>Home</a></li> <li><a href=#>Store</a></li> <li><a href=#>Blog</a></li> <li><a href=#>Contact us</a></li> </ul> </nav> and it does not work, nothing happens. What am I doing wrong? Thanks
  18. LSW

    Adobe Patches:

    Adobe Releases Security Patches for Flash, Acrobat Reader, Other Products https://thehackernews.com/2019/04/adobe-security-updates.html
  19. LSW

    Patch Tuesday Updates (Windows)

    Microsoft Releases April 2019 Security Updates — Two Flaws Under Active Attack https://thehackernews.com/2019/04/microsoft-patch-updates.html
  20. Use SITE:Your domain and the Google it and then you can find out how many pages are indexed.
  21. LSW

    Current Threats

    Researcher Reveals Multiple Flaws in Verizon Fios Routers — PoC Released https://thehackernews.com/2019/04/verizon-wifi-router-security.html
  22. Microsoft Releases First Preview Builds of Chromium-based Edge Browser https://thehackernews.com/2019/04/chromium-edge-browser.html
  23. administrator

    Questions about the Python 3 Course Downloads

    To prevent abuse. Just let me know if ever you run out.
  24. Rubinelezi

    What should i do next?

    I really like PHP and backend developing i think i am not a good desiger so more like a backend guy but i think i should know the basics of front end and learning a framework nowadays seems like a must this is the reason why i want to learn more of JS. Im thinking of following this path...spend some hours on vue and maybe the jQuery course (provided by your course on the project panel) just to understand JS more and to know what can i do with them and go deeper if i need them on future. Than im definitely moving to PHP.
  25. administrator

    What should i do next?

    I would go to Vue if you want to get deeper into JS. Just find a good YouTube tutorial. But, I would suggest doing the PHP first, because it will deepen you understanding of JS ... strangely! Stef
  26. Rubinelezi

    What should i do next?

    Hello! I just finished studioWeb JavaScript course and so far its been a great experience, really good course and easy to follow but i dont feel ready to jump to PHP , i feel like i need to learn more JavaScript what you suggest me to do, i want to learn more JS but I don't know exactly what to learn , should i learn more vanilla JS or start learning a framework lile vue or react. Thanks!
  27. iamsamiam

    Questions about the Python 3 Course Downloads

    Why do we have a limited number of logins?
  1. Load more activity
×