<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danny Huang on Medium]]></title>
        <description><![CDATA[Stories by Danny Huang on Medium]]></description>
        <link>https://medium.com/@dannyhuang_75970?source=rss-7c483256d475------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-BBXrZKppOd-NfMy.</url>
            <title>Stories by Danny Huang on Medium</title>
            <link>https://medium.com/@dannyhuang_75970?source=rss-7c483256d475------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 21:56:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dannyhuang_75970/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[7 best courses to learn PHP, Zero to Hero]]></title>
            <link>https://medium.com/@dannyhuang_75970/7-best-courses-to-learn-php-zero-to-hero-d2418b89649c?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2418b89649c</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[learn-laravel]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[learn-php]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Tue, 09 Oct 2018 07:53:14 GMT</pubDate>
            <atom:updated>2018-10-09T07:53:14.131Z</atom:updated>
            <content:encoded><![CDATA[<p>Most people who surf day after day on the internet know little or nothing about the machinery that is hidden under the hood. Even many programmers give more importance to the appearance of websites, than the code that makes them work. However, not for that, the back-end development is no longer important. In fact, today, during the reign of the Internet and web programming, it is more important than ever.</p><p>Some programmers claim that only back-end development is true programming, disdaining the front-end. Although they are wrong, that kind of thinking is partially true. It is much more difficult to build a web page from scratch than to paint and decorate a house already built. The front-end is the furniture, while the back-end is the bricks. And in the back-end world, undoubtedly PHP is the emperor, the hegemonic language par excellence. Most Internet sites have been built with PHP.</p><p>That is why it is so important, even today, to know PHP thoroughly and know how to use it, either alone or using any of its frameworks (such as the renowned Laravel). Right now, according to Glassdoor, a PHP developer earns an average of $ 89,774 per year in the United States. Undoubtedly, knowing PHP opens many doors, either to a stable job or to be a freelance worker. Next, you will see what the best PHP courses available on the Internet are right now:</p><p><strong>Paid courses</strong></p><ol><li><strong>PHP for Beginners — Become a PHP Master — CMS Project</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*dEX48VvU1hGP1EOh5ISxwg.jpeg" /><figcaption><strong>PHP for Beginners — Become a PHP Master — CMS Project</strong></figcaption></figure><p>This is one of the largest courses in Udemy, with more than 52 thousand students. It´s totally focused on beginners, as its title says. In fact, it doesn´t require any experience as a programmer, except maybe some knowledge of HTML (which isn´t a programming language anyway). Edwin Diaz will teach you the basics of procedural PHP, object-oriented PHP, PHP security, PHP cookies, Composer (PHP dependency manager), MySQL and finally you will build a CMS system similar to WordPress or Joomla. There is also a small part to explain how to integrate Bootstrap and jQuery with a PHP system. Each section within the course includes a review of practice at the end, reinforcing what has already been seen. Without a doubt, this is a highly recommended course.</p><p><a href="https://lihi.cc/v1ieD"><strong>Course Link Here</strong></a></p><p><strong>2) Write PHP Like a Pro: Build a PHP MVC Framework from Scratch:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*4TO2uu6YMo1GFtyVlqEyow.jpeg" /><figcaption><strong>Write PHP Like a Pro: Build a PHP MVC Framework from Scratch</strong></figcaption></figure><p>This prestigious course, created by Dave Hollingworth, is for programmers who already know PHP and HTML, but don´t know how to use a framework. With this course, you will learn how the MVC scheme works (model-view-controller) and how you can build a website without mixing SQL and HTML code in the same script. One piece at a time. By writing your own framework from scratch, you can better understand how each component works and learn more easily frameworks like Laravel, Symfony or CodeIgniter. You will also learn to use Composer and manage errors and exceptions in PHP. Without a doubt, it is highly recommended.</p><p><a href="https://lihi.cc/kNfyc"><strong>Course Link Here</strong></a></p><p><strong>3) PHP OOP: Object Oriented Programming for beginners</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*PFrIXRJbXLNRC0nm2tRzxw.jpeg" /><figcaption><strong>PHP OOP: Object Oriented Programming for beginners</strong></figcaption></figure><p>This is another course by Edwin Diaz, being a more specialized course. It is intended for PHP programmers who want to learn how to use object-oriented programming and build PHP OOP applications. The proven quality of Edwin as an instructor will be useful for learning OOP, how to build and use certain classes in PHP, some CRUD and Admin powers. Without a doubt, is very recommendable.</p><p><a href="https://lihi.cc/MipTV"><strong>Course Link Here</strong></a></p><p><strong>4) Object Oriented PHP &amp; MVC</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*PTvmmZEjP58Tk1eFn24W4w.jpeg" /><figcaption><strong>Object Oriented PHP &amp; MVC</strong></figcaption></figure><p>This course of the renowned Brad Traversy is one of the best rated in Udemy right now. It´s aimed at developers who want to learn advanced OOP and how to create and use an MVC framework. Here you will go step by step building a complete and customizable MVC framework, which will be similar to CodeIgniter but much lighter. In addition, you will create an application called SharePosts, which will be a kind of social network to share publications. This application will include a Bootstrap 4 interface, CRUD posts, and full user authentication. Without a doubt, this is one of the best courses on this list.</p><p><a href="https://lihi.cc/TJJXb"><strong>Course Link Here</strong></a></p><p><strong>5) PHP for Beginners: How to Build and E-Commerce Store</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*HOybiLiYO1X7rlDShKKBaQ.jpeg" /><figcaption><strong>PHP for Beginners: How to Build and E-Commerce Store</strong></figcaption></figure><p>This is another course by Edwin Diaz, proud of his quality once again. It´s aimed at developers who know the basics of PHP and MySQL and want to polish their skills. This specialized course will teach you how to create a complete e-commerce system from scratch, which will communicate with the Paypal API to send processing requests, you will have a user system and you will also receive data back to the administrator to report the sale of products. It’s a fairly long and intensive course (14.5 hours long) but it’s definitely worth it.</p><p><a href="https://lihi.cc/tV46y"><strong>Course Link Her</strong></a><strong>e</strong></p><p><strong>Free courses</strong></p><p><strong>1) PHP Tutorials — Guru99:</strong> in this site you can find a long list of PHP tutorials with which you can learn the basics of the language, such as procedural PHP, forms, cookies, error handling, access to a database, OOP, security features and regular expressions. It even explains how to make a very simple app in CodeIgniter. They are entertaining and easy to understand texts. Undoubtedly, in case you are short of money, it is advisable to start.</p><p><a href="https://www.guru99.com/php-tutorials.html"><strong>https://www.guru99.com/php-tutorials.html</strong></a></p><p><strong>2) PHP Front to Back: </strong>this free Brad Traversy course is for beginners who want to learn PHP quickly. Unlike its one-hour crash courses, it pretends to be extensive enough to teach PHP properly. You will learn the basics of procedural PHP, filters and validation, sessions, cookies, how to include AJAX in a PHP system, OOP and work with a database through MySQL. Brad teaches us all this with his usual pleasant and relaxed style. It´s available on YouTube and it has 22 videos. Recommendable.</p><p><a href="https://www.youtube.com/playlist?list=PLillGF-Rfqbap2IB6ZS4BBBcYPagAjpjn"><strong>https://www.youtube.com/playlist?list=PLillGF-Rfqbap2IB6ZS4BBBcYPagAjpjn</strong></a></p><p><strong>Conclusion</strong></p><p>In addition to learning PHP, you can look for courses on Udemy and other sites about Laravel, CodeIgniter, Symfony and other frameworks, which are very important for a PHP developer today. In my opinion, if you are going to take the course for beginners Edwin Diaz, you should deepen later in their advanced courses, to continue developing as a PHP programmer. The same is recommended for those who take Brad Traversy’s free course on YouTube, as long as you can pay for your Udemy courses.</p><p><strong>If you are interested in other courses on Udemy. Use this link to get 10$ for every course.</strong></p><p>🔗Click Here: <a href="https://lihi.cc/emvaS">Udemy Website</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2418b89649c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[8 best places to learn Javascript (2018 Updated Free & Paid)]]></title>
            <link>https://medium.com/@dannyhuang_75970/8-best-places-to-learn-javascript-2018-updated-free-paid-940eed6b8296?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/940eed6b8296</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Mon, 20 Aug 2018 14:14:12 GMT</pubDate>
            <atom:updated>2018-08-20T14:14:12.283Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, web programming is more important and lucrative than ever. The Internet is progressively becoming the basic means of humanity to do anything from communications to finance. Therefore, if you are a programmer, it is essential that you learn to build web pages and web apps. And right now, there is no web language more important and versatile than JavaScript. JavaScript is a front-end web development language, but it can also be used for databases, back-end development, servers, etc. The famous stack MEAN (MongoDB — Express — AngularJS — Node.JS) works with a single base language: JavaScript.</p><p>Today, according to Indeed.com, the average annual salary of a JavaScript developer in the United States is $ 110,914 per year. This shows the great importance that JavaScript has acquired today as a full-stack web development language. However, it also has other virtues: it´s very easy to learn (and recommended for novices who do not know anything about programming), it´s everywhere (including Big Data, cloud computing, databases, video games …), it´s quite demanded, and last but not least, sooner or later you will have to use JavaScript, because nowadays almost everything goes through the Internet.</p><p>Here I leave you the best courses I know about JavaScript.</p><p><strong>Paid courses</strong></p><ol><li><a href="https://lihi.cc/95lTo"><strong>The Complete JavaScript Course 2018 — Build Real Projects</strong></a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*ni6s65Cd3Wm3u0rmWeA3qQ.jpeg" /><figcaption><strong>The Complete JavaScript Course 2018 — Build Real Projects</strong></figcaption></figure><p>This course is one of the deepest courses that Udemy offers about Javascript, being its teacher one of its best instructors, Jonas. This course is intended for all types of programmers: complete novices who want to learn to program, intermediate developers, or expert programmers.</p><p>Jonas will teach you the basics of the language, how JS works under the hood, DOM manipulation, modern modules such as NPM and Webpack, asynchronous Javascript (events loop, AJAX), and the latest developments in ES6. You will have to make three applications from the real world and pass a final exam with 30 questions to test your knowledge. Without a doubt, it´s highly recommended.</p><p>💻<a href="https://lihi.cc/95lTo">The Complete JavaScript Course (LINK)</a></p><p><strong>2) </strong><a href="https://lihi.cc/seEZd"><strong>JavaScript — Understanding the Weird Parts</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*VfUjw0tqpED7OoyvWZyWbg.jpeg" /><figcaption>JavaScript- Understanding the Weird Parts</figcaption></figure><p>This course by Anthony Alicea is intended for experienced programmers or with basic knowledges of JavaScript who want to learn in depth how this language under the hood is. For something this is one of the most popular courses of JS in Udemy. You will learn the beauty of the most bizarre and incomprehensible parts of Javascript. You will learn advanced concepts such as objects, inheritance of prototypes, functional programming, constructors of functions, calls, and so on. You will also do a deep immersion in the source code of popular frameworks like jQuery and you will learn to be able to create your own library or JavaScript framework. It´s recommended.</p><p>💻<a href="https://lihi.cc/seEZd">JavaScript — Understanding the Weird Parts(LINK)</a></p><p><strong>3)</strong><a href="https://lihi.cc/adb6h"><strong> Modern JavaScript from the Beginning</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*d24uvImDUX_FcLqumqvu9g.jpeg" /><figcaption>Modern JavaScript From The Beginning</figcaption></figure><p>This Brad Traversy course is intended for anyone who wants to learn JavaScript from scratch, without libraries or frameworks. Whether you are a beginner or an expert developer, you will learn from basic fundamentals to advanced programming: basic concepts, DOM manipulation, OOP, ES2015+, asynchronous JS and regular expressions. You will have to perform 10 real-world projects, such as a Chuck Norris Joke Generator, a GitHub search engine, a WeatherJS application and as a final project, a CRUD front-end for API REST. It´s recommended.</p><p>💻<a href="https://lihi.cc/adb6h">Modern JavaScript from the Beginning(LINK)</a></p><p><strong>4) </strong><a href="https://lihi.cc/302ZY"><strong>The Modern JavaScript Bootcamp (2018)</strong></a><strong>:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*-q_Ieu_SPp88DYDShlGHow.jpeg" /><figcaption>The Modern JavaScript Bootcamp (2018)</figcaption></figure><p>This is one of the most popular JavaScript courses at Udemy, and was created this year by Andrew Mead. This Bootcamp starts from scratch and is intended for both new and programmers who want to learn how to create a complete application and explore the latest of ES6 and ES7. This course has 80 challenges and 3 JavaScript app projects that will test your knowledges. Of course, some may think that Andrew’s teaching style is much accelerated. However, this course is highly recommended.</p><p>💻<a href="https://lihi.cc/302ZY">The Modern JavaScript Bootcamp (2018)(LINK)</a></p><p><strong>5)</strong><a href="https://lihi.cc/a3Akw"><strong> Learn JavaScript for Web Development</strong></a><strong>:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*qa4OJKpAO5NDgaiby7OHdw.jpeg" /><figcaption>Learn JavaScript for Web Development</figcaption></figure><p>This popular Udemy course is focused mainly on teaching the basic fundamentals of the language, being mainly aimed at beginners who want to learn to program. Each unit has its own quiz, readings and code assignments to polish your skills. As a final project, you will have to create an interactive web page. The instructor explains the basics of JS in a simple and easy to understand way. It is very good.</p><p>💻<a href="https://lihi.cc/a3Akw">Learn JavaScript for Web Development(LINK)</a></p><p><strong>6) </strong><a href="https://lihi.cc/lsVgd"><strong>Accelerated JavaScript Training</strong></a><strong>:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*t--pKSvu7snzBQa8UUgrxA.jpeg" /><figcaption><strong>Accelerated JavaScript Training</strong></figcaption></figure><p>This course of Maximilian Schwarzmüller is one of the most popular of Udemy, despite not having been updated since the end of 2016. It is a basic course for programmers who have never played Javascript. You will learn about the basics of language, POO, in-depth modules on arrays, objects and prototypes, DOM interaction, AJAX, events and the use of frameworks and libraries. This course has one of the best Udemy support services, in addition to hundreds of examples and a complete project to practice what you have learned in this course.</p><p>💻<a href="https://lihi.cc/lsVgd">Accelerated JavaScript Training(LINK)</a></p><p><strong>Free courses:</strong></p><p><strong>1) CodeAcademy — Introduction to JavaScript:</strong> this CodeAcademy course is intended for novice programmers who want to learn about JavaScript. You can learn the basic basics of the language, and even the basics of objects, classes and modules, but you should be aware that if you are looking for a more advanced course, you must do the courses offered by CodeAcademy on AngularJS, ReactJS and jQuery.</p><p>💻<a href="https://www.codecademy.com/learn/introduction-to-javascript/">https://www.codecademy.com/learn/introduction-to-javascript/</a></p><p><strong>2) JavaScript30:</strong> this free, basic and simple 30-day course is essentially a coding challenge. You will learn to build 30 different applications in 30 days with 30 tutorials, without frameworks or libraries. Wes Bos has created this course specifically for beginners, intermediate developers and designers who seek to learn to work in DOM without a library.</p><p>This course requires a basic knowledge of Javascript and proposes to learn application by application, staying away from design patterns, frameworks and any type of abstraction. It is a highly recommended interactive course, without a doubt.</p><p>💻<a href="https://javascript30.com/">https://javascript30.com/</a></p><p><strong>Bonus — Learn ES6:</strong> this course allows us to learn, in a fast, easy and simple way, some of the new features of JavaScript with ES6 (ECMAScript 2015), such as generators, REST parameters, Maps, etcetera. It is a “montage” with several instructors, being John Lindquist the main professor.</p><p>💻<a href="https://egghead.io/lessons/javascript-arrow-function-in-es6/">https://egghead.io/lessons/javascript-arrow-function-in-es6/</a></p><p>If you are interested in other courses on Udemy. Use this link to get 10$ for every course.</p><p>👍👍<a href="https://lihi.cc/emvaS">https://lihi.cc/emvaS</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=940eed6b8296" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Complete Guide to learning CSS (Free & Paid Resources)]]></title>
            <link>https://medium.com/@dannyhuang_75970/the-complete-guide-to-learning-css-free-paid-resources-c9715bac78ee?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9715bac78ee</guid>
            <category><![CDATA[css-grid]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[css3]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Mon, 23 Jul 2018 08:43:19 GMT</pubDate>
            <atom:updated>2018-07-23T08:51:18.374Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I’m Danny Huang, a front-end developer from Taiwan. I’m a self taught web developer. You can checkout my story here (<a href="https://medium.freecodecamp.org/got-a-react-developer-job-during-my-100dayscodechallenge-f455175d3776">link</a>).</p><p>CSS is vital to frontend development and web development. CSS stands for Cascading Style Sheets. CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, layout designs, variations in display for different devices and screen sizes as well as a variety of other effects.</p><p>I want to share my CSS resources. These are the books and courses that help me learned CSS.</p><h3>Free</h3><p><strong>Learn to Code HTML &amp; CSS by Shay Howes</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*krvaePdzsucg5h4k6LBl4g.png" /></figure><p>this interactive book aims to teach the basic functioning of HTML and CSS for inexperienced beginners. It is a two-part course. The first part is a basic course on how to build a simple web page. The second part takes us on a journey to learn how to build an interactive website with JavaScript modules, in addition to learning about RWD. Highly recommended</p><p><a href="https://learn.shayhowe.com/advanced-html-css/">Learn to Code Advanced HTML &amp; CSS</a></p><p><strong>Internet is hard HTML and CSS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kFNIYIBIJfiYzzYEHa9K_Q.png" /></figure><p>this course is also intended for beginners without experience. It is a pure text course without any web demo to practice, although it has a lot of excellent user-friendly graphics. Talk about different aspects of CSS, but do not go deep enough. There isn´t any base project.</p><p><a href="https://internetingishard.com/html-and-css/">HTML &amp; CSS Is Hard</a></p><p><strong>CSS3 in 30 Days</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*KY62LYYg7z0jlimekV2zeA.jpeg" /></figure><p>this is a video course by a great and prestigious Internet teacher, Brad Hussey. I have taken his Wordpress class, and he has recently launched this deep CSS course, intended for beginners as well as intermediate developers. It is a very interactive course, where you have a CSS theme every day and you must move forward in your project.</p><p><a href="https://codecollege.ca/">CSS3 in 30 Days</a></p><p><strong>4) CodeAcademy — Learn CSS:</strong> less than a year ago, CodeAcademy separated its HTML — CSS course into two separate courses so that it would be possible to go deeper. These courses are updated frequently and are a good introduction for a newbie. This course focuses very well on the fundamental topics of CSS and is complete enough to even include an entire chapter for CSS Grid. Recommended for beginners.</p><p><a href="https://www.codecademy.com/learn/learn-css">https://www.codecademy.com/learn/learn-css</a> <br> <br> <strong>5) Flexbox.io:</strong> this free course of 20 videos, taught by Wes Bos, is highly recommended for those who want to learn Flexbox. The first 13 videos teach the Flexbox basics, while the last 7 are codes where we will build from a website to a mobile app. Requires a registration with email.</p><p><a href="https://flexbox.io/">https://flexbox.io/</a></p><p><strong>6) HTML and CSS for Beginners — Build a Website &amp; Launch ONLINE:</strong> this free Udemy course is intended for complete beginners. Not only will we learn the HTML and CSS basics, but we will also learn how to build web pages in less than 6 hours. At the end of the course, you will receive a free certificate.</p><p><a href="https://www.udemy.com/html-and-css-for-beginners-crash-course-learn-fast-easy/">https://www.udemy.com/html-and-css-for-beginners-crash-course-learn-fast-easy/</a></p><h3>Paid</h3><p><a href="http://bit.ly/beginnercss"><strong>Build Responsive Real World Websites with HTML5 and CSS3 </strong></a><strong>(Beginner Level)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*ydm0maGC-7II52AvPpnT6g.jpeg" /><figcaption><a href="http://bit.ly/beginnercss"><strong>Build Responsive Real World Websites with HTML5 and CSS3</strong></a></figcaption></figure><p>🔗<a href="http://bit.ly/beginnercss">http://bit.ly/beginnercss</a></p><p>This is the most popular CSS3 course on Udemy. For something his teacher is one of the best instructors of Udemy: Jonas. It is a very easy, interactive and fun course. You will have to do a project (a landing page) for a fictitious restaurant created for this course.</p><p>In my case, this course was essential to learn the CSS fundamentals. I highly recommend this course to everyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hyt1P845c0hLo4Tbxw0lGg.png" /><figcaption><a href="http://bit.ly/beginnercss"><strong>Build Responsive Real World Websites with HTML5 and CSS3</strong></a></figcaption></figure><p><a href="http://bit.ly/udemycssthcompleteguide"><strong>2) Advanced CSS and Sass: Take Your CSS to the Next Level</strong></a><strong>:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*pI7L_15juTKKhqEu0685xQ.jpeg" /><figcaption><a href="http://bit.ly/udemycssthcompleteguide"><strong>Advanced CSS and Sass: Take Your CSS to the Next Level</strong></a></figcaption></figure><p>️🔗<a href="http://bit.ly/udemycssthcompleteguide">http://bit.ly/udemycssthcompleteguide</a></p><p>Jonas also offers this advanced CSS course for developers who already know the CSS basics. In this course, we learn about new technologies such as Flexbox, Grid, Sass, and NPM. We will also learn how to structure our CSS project to be scalable. During this course we built 3 websites.</p><p><strong>3) CSS — The Complete Guide (incl. Flexbox, Grid &amp; Sass)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*ck20Y7Ro0SRdRuVK5CfWyg.jpeg" /><figcaption>CSS — The Complete Guide</figcaption></figure><p>️🔗<a href="http://bit.ly/udemycssthcompleteguide">http://bit.ly/udemycssthcompleteguide</a></p><p>This course is created by Maximilian Schwarzmüller. He is a well known Udemy instructor. You can also checkout his youtube channel (<a href="https://www.youtube.com/channel/UCSJbGtTlrDami-tDGPUV9-w">here</a>). This course is intended for beginners as well as people who already know CSS3. Start with the most basic CSS3 and then go deeper and deeper. We will have to carry out a project during the course, but there are also several assignments, quizzes and challenges available. Very complete and recommendable.</p><h3>Udemy Discount Coupon for All Courses</h3><p>🎉🎉<a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fbit.ly%2Fudemy10julyonly&amp;h=AT0vdHEz-hnj3RQ0W1NZX9x1S4lHJc8IuR3zRuSKRO_f_Ass7vKqELcjElt6sXBWy1NUwMYGavjQ-KqTN0meIP6fVTA5CRdCuDFHxPv3EwLPq-fBocEUg34-0B0LFzrczyg4Ew">http://bit.ly/udemy10julyonly</a>🎉🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9715bac78ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Google Design Sprint? Why should your team use it?]]></title>
            <link>https://medium.com/@dannyhuang_75970/what-is-google-design-sprint-why-should-your-team-use-it-d351c3750b6b?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/d351c3750b6b</guid>
            <category><![CDATA[google-design-sprint]]></category>
            <category><![CDATA[scrum]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[design-sprint]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Thu, 07 Jun 2018 08:30:32 GMT</pubDate>
            <atom:updated>2018-06-07T08:30:32.596Z</atom:updated>
            <content:encoded><![CDATA[<p>Google Design Sprint (from now on refer to as GDS) is a framework for coming up with business solutions. It is a process from Google Ventures. Google Venture is a part of google that invest in many startups. Other than investing in money, Google Venture also help startups to come up with business solutions. GDS is the process that they used.</p><p>I’m going to walk you through the five day process of the sprint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AZ1oo38MJqgqyZ533gWWcQ.jpeg" /><figcaption>Google design sprint process</figcaption></figure><p>Here are what you need.</p><p><em>Team members</em>: Engineer, Marketing, Designer, Managers, and etc.</p><p><em>Materials</em>: tape, pen, sticky notes, timer, A3 A4 papers , voting stickers</p><h4>Monday - Sketch</h4><p>We want to sketch out the user map story. This is basically the workflow of how user goes to purchasing the product (or whatever your goal is that you want the customer to end up with). There are three steps between customer and end goal and they are discovery, learn, and use.</p><p>From Blue example from the book.</p><ol><li>Discovery-customer heard about our coffee beans from our local store.</li><li>Learn-customer learn more about the coffee beans from barista</li><li>Use- customer use website to select coffee beans</li></ol><p>Next we want to see if there are any opportunities that we can improve user experience. (ex. how to help clients know where the bean is from, how to let clients know what beans they want).</p><p>Note: Use sticky notes for this process.</p><h4>Tuesday- Storyboard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*C844OgMC4kzvNtjz2ov-Nw.jpeg" /><figcaption>Storyboard</figcaption></figure><p>On Tuesday we want to ask each team member to come up with their solutions. Next, come up with a storyboard of the process. Storyboard is something like a comic book. Each team member should sketch out the experience user is going through in the storyboard.</p><h4>Wednesday-Decision</h4><p>Next, Everyone present their solutions and votes for their favorite solution. The boss will also vote and usually the boss has the final say (because he is the boss).</p><h4>Thursday-Prototyping</h4><p>Thursday is building a prototype. Prototyping is a minimalistic product of our solution. It can be a power point, website, slideshow. If you are building a website, there are many prototype tools available(ex. Invision, Marvel).</p><p>However, if your product is a physical product, then you can just build a shell. Image a car with out an engine.</p><h4>Friday- User Testing</h4><p>Finally, we want to find five users to test our products. Usually 5 users will give us enough feedbacks to verify our ideas. If our ideas work, we can continue to work on our ideas. If not, we can go back to Wednesday and look for another solution.</p><h4>Conclusion.</h4><p>Here are some final notes, GDS is not fixed workflow. Each team can modify it to fit their need. Our company used a 3 day version last time and there’s a 4 days version on line.</p><p>That’s it. Hopefully you find a feasible solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d351c3750b6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to setup CSS modules in Create-React-APP]]></title>
            <link>https://medium.com/@dannyhuang_75970/how-to-setup-css-modules-in-create-react-app-a03b65e14746?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/a03b65e14746</guid>
            <category><![CDATA[css-in-js]]></category>
            <category><![CDATA[css-modules]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[create-react-app]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Fri, 04 May 2018 14:22:25 GMT</pubDate>
            <atom:updated>2018-05-04T14:22:25.840Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*TDFpFszv-KRxNuUFWJd2PQ.png" /><figcaption>CSS modules + Create-React-App</figcaption></figure><h3><strong>Introduction</strong></h3><p>In this article, I’m going to show you how to setup CSS modules in Create-React-App(CRA, I’ll use CRA from now on).</p><h3><strong>Tutorial</strong></h3><p>Go to your file location and type npm run eject. By ejecting CRA, we’ll have full control of our app setup including webpack.</p><p>And click yes to confirm ejection</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*dl45_mlWstM2DYJ2wwKA5g.png" /><figcaption>ejecting create-react-app</figcaption></figure><p>Next we want to go to our webpack.config.dev.js and webpack.config.prod.js file. and do a quick search for with CSS. The section should look something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*i4FbZO-c5QpRu65_y0L2Ew.png" /><figcaption>if this is unclear you can checkout the github repo and the end of the file</figcaption></figure><p>Now we want to add these two lines into our webpack config both dev and prod setup. modules: true means enable CSS module. localIdentName will give us n unique CSS classname. With this setup, we’ll component’s name__style’s classname__random rash (if you don’t get it don’t worry you’ll see from the example below)</p><pre>modules: true,</pre><pre>localIdentName: &#39;[name]__[local]__[hash:base64:5]&#39;</pre><p>This is it for the setup. We are ready to write some CSS. (you may need to restart your npm server). Now let’s incorporate CSS and jsx file with our CSS modules setup.</p><p><strong>CSS file</strong></p><p>I slightly change my App.css’s format basically removing the block’s name because CSS module will take care of that base on our webpack setup.</p><pre>...</pre><pre><em>//App.css<br>.logo</em> {</pre><pre>  animation: App-logo-spin infinite 20s linear;</pre><pre>  height: 80px;</pre><pre>}</pre><pre><em>.header</em> {</pre><pre>  background-color: #222;</pre><pre>  height: 150px;</pre><pre>  padding: 20px;</pre><pre>  color: white;</pre><pre>}<br>...</pre><p><strong>JSX file</strong></p><p>Now we import App.css and give it a name called styles (you can give it any name). Right now our CSS is a javascript object, so to use it we to use it like how to call an object property. (you can also do console.log(styles) to see what it looks like)</p><pre>//App.js<br>import styles from &#39;./App.css&#39;;</pre><pre>...<br>&lt;div <em>className</em>={styles.app}&gt;</pre><pre>  &lt;header <em>className</em>={styles.header}&gt;</pre><pre>  &lt;img <em>src</em>={logo} <em>className</em>={styles.logo} <em>alt</em>=&quot;logo&quot; /&gt;</pre><pre>  &lt;h1 <em>className</em>={styles.title}&gt;Welcome to React&lt;/h1&gt;</pre><pre>  &lt;/header&gt;</pre><pre>  &lt;p <em>className</em>={styles.intro}&gt;</pre><pre>  To get started, edit &lt;code&gt;src/App.js&lt;/code&gt; and save to reload.</pre><pre>  &lt;/p&gt;</pre><pre>&lt;/div&gt;</pre><p>In our dev tool, we can see that our CSS class name has a unique name. This naming convention is based on our webpack config. If you didn’t setup localIdent, our class name will be a random hash. I prefer this naming convention over a random hash because it’s easier to read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2m4PK4NuP2L5yQHXYtpk1g.png" /><figcaption>how classname look like with CSS modules</figcaption></figure><h3><strong>Conclusion</strong></h3><p>The thing about CSS is that CSS is global no matter what kind of naming convention you are using. (ex. BEM) So CSS modules provide a scoped CSS solution. Every class name is unique because of base64 hashing. <br>This is it for this article.</p><p>Hopefully, you find it helpful.</p><p>Here’s the link to github repo (<a href="https://github.com/kuanhsuh/cssmodules_create-react-app">link</a>)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3o7qE2VAxuXWeyvJIY%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2F3o7qE2VAxuXWeyvJIY&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3o7qE2VAxuXWeyvJIY%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="665" frameborder="0" scrolling="no"><a href="https://medium.com/media/c9779e9fdd4d7f2fca16a1248c496aa9/href">https://medium.com/media/c9779e9fdd4d7f2fca16a1248c496aa9/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a03b65e14746" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SASS Project Structure for Big Projects]]></title>
            <link>https://medium.com/@dannyhuang_75970/sass-project-structure-for-big-projects-8c4a740846ee?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c4a740846ee</guid>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[css-structure]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[css-project]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Mon, 09 Apr 2018 07:50:23 GMT</pubDate>
            <atom:updated>2018-04-09T07:50:23.327Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ui-aMiMd0L4IKMXVZihxTg.jpeg" /><figcaption>CSS planning is vital</figcaption></figure><p>CSS is a fairly easy language to learn and start writing. However, because of its lack of structure and easiness to write. When the project becomes larger, maintaining CSS become very painful and unbearable.</p><p>Even with the help of preprocessors such as SASS, we still need to have a file structure. Therefore having a plan for your CSS is vital. There are many types of file structure online.</p><p>Today I want to share with you 2 different structure that I use. One I use for smaller projects and One I use for bigger projects.</p><p><strong>Small Projects</strong></p><pre>_layout.scss<br>_component.scss<br>_base.scss</pre><pre>main.scss</pre><p>This is the file structure that I use for smaller projects. By small project, I mean like a single web page. The great thing about this structure is that this is extendable. I can easily convert this structure into a more complex structure.</p><p>Let me explain what each of these files does.</p><p><strong>Base file</strong> is where I have the resets, variables, mixins, and some utility CSS classes. It may look like there is a lot to fit in a single file. However, some of these subsets may only have less than 20 lines, some subsets may not even have any code.</p><p><strong>Component file</strong> is for components such as buttons, navbars, cards, anything that is reusable. Since we have a small project our component file should be manageable.</p><p><strong>Layout File</strong> handles the overall layout of the web page such as container and grid systems.</p><p><strong>Main File</strong> does only one thing which is to import all the above files.</p><h3><strong>Bigger Projects</strong></h3><p>For a bigger project, multiple page app, I use 7–1 pattern, it is similar to the small project file structure but with more folders. Here’s what 7–1 the pattern looks like.</p><ul><li>base/</li><li>components/</li><li>layout/</li><li>pages/</li><li>themes/</li><li>abstracts/</li><li>vendors/</li><li>main.scss</li></ul><p>The base, components, and layout do the same job as the file structure above. However, instead of a single file, we now manage them in a folder.</p><p><strong>Base</strong>: animations, base, typography, and utilies.</p><p><strong>Components</strong>: have a single scss file for each individual component</p><p><strong>Layout</strong>: Header, footer, grid, navigation</p><p><strong>Pages</strong>: Have a single scss for each specific page</p><p><strong>Themes</strong>: deals with various themes (optional, I haven’t use it yet)</p><p><strong>Abstracts</strong>: handles function, mixins, and variables</p><p><strong>Vendor</strong>: handles 3rd party css</p><p>Here’s a boilerplate from the original author.</p><p><a href="https://github.com/HugoGiraudel/sass-boilerplate/tree/master/stylesheets">HugoGiraudel/sass-boilerplate</a></p><h3>Conclusion</h3><p>Well, that’s it. There are various ways and opinion on file structure. There is no right or wrong way. Hopefully, You have a better understanding of how to structure your CSS files and how to manage small and big projects.</p><p>Resource:</p><ul><li>Sass Guidelines: <a href="https://sass-guidelin.es/">https://sass-guidelin.es/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c4a740846ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One year after my I started to code. Where I am at now.]]></title>
            <link>https://medium.com/@dannyhuang_75970/one-year-after-my-i-started-to-code-where-i-am-at-now-77afc5f4fd69?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/77afc5f4fd69</guid>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Sun, 01 Apr 2018 13:53:37 GMT</pubDate>
            <atom:updated>2018-04-01T13:53:37.187Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1HFQoozlWw_sgdxBdSG4DA.jpeg" /><figcaption>2017 Goals &amp; 2018 Goals</figcaption></figure><p><strong>Status Update</strong></p><p>I started coding in Feb 2017. This month I got a job referral from a friend. My friend recently told me that his company has an opening for front-end development and he thinks I would be fit for the job. Luckily after 3 interviews (1 live coding, 1 technical interview, 1 interview with founders), I got the jobs. The cool part about this job is that it’s a remote job. I always wanted to try remote work. So I’m pretty excited about the work and the remote work environment.</p><p>Second, after I got my job offer I started my youtube channel. Youtube has been one of my goals. I’ve been consistent blogging last years, but I believe youtube is the next level. My channel will be mostly about frontend development.</p><p><strong>2018 Goals</strong></p><ul><li>Solidify my frontend skills, from CSS, Javascript to Frontend framework.</li><li>My problem last year was that I can build things but my code structure and fundamentals was weak. My lack lack structure which for larger project will become hard to maintain. Also, I don’t have a strong understanding of many javascript concepts (for example closure, prototypes, OOP)</li><li>I also want to continue blogging. Blogging worked really well for me in 2017. Writing solidify my coding concepts and also builds a brand for me.</li><li>Hopefully I can get to 5000 subscribers on youtube this year.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77afc5f4fd69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is BEM? And Why you should use it in your project.]]></title>
            <link>https://medium.com/@dannyhuang_75970/what-is-bem-and-why-you-should-use-it-in-your-project-ab37c6d10b79?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab37c6d10b79</guid>
            <category><![CDATA[learn-css]]></category>
            <category><![CDATA[learn-javascript]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[bem]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Fri, 23 Mar 2018 07:24:33 GMT</pubDate>
            <atom:updated>2018-03-23T07:24:33.702Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*uFmaIwyCFUGuqkKc2UFRhw.jpeg" /></figure><p><strong>Introduction</strong></p><p>CSS is a language that is easy to learn but very hard to maintain. As the project grows larger, without proper structure, maintaining CSS is unbearable. People have come up with different types of solutions to this such as OOCSS, SMACSS, and BEM. Currently, BEM is the most widely used, it’s unique naming method makes CSS to maintain. Without further a due, let’s start learning BEM.</p><p>BEM is a naming styling that is created by Yandex (think of them as Russia’s Google). The problem BEM is trying to solve is the naming problem and structure that CSS often run into. BEM also provides a better structure for your CSS code and scalable CSS.</p><p><strong>Basics</strong></p><p>BEM stands for Block Element, Modifiers. Let me know you with an easy example.</p><p>Let’s say we want to build a card component. The <strong>block </strong>would be .card. Then any sections within card would be elements. So in this example, we have image, description, button. BEM naming convention connects block and <strong>element </strong>with two underscores ex. card__image. Finally, we have two different types of buttons, success and back. We call these <strong>modifiers </strong>and we connect them with our element with two dashes, for example .car__button — success.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y25I98tCCwdM3kGMsEyy2A.png" /><figcaption>BEM example with a card component</figcaption></figure><pre>.card {}<br>.card__image {}<br>.card__description {}<br>.card__button--success{}<br>.card__button--back {}</pre><p><strong>Pros &amp; Cons</strong></p><p>BEM provides a modular structure to your CSS project. Because of its unique naming scheme, we won’t run into conflicts with other CSS names. BEM also provides a relationship between CSS and HTML. Ambiguous names are hard to maintain in the future.</p><p>The main hold back for BEM is that sometimes we wind up with very LONG names. However, if you are using SASS precompiler, this may not be so bad because we can use nesting. Here is an example.</p><pre>// SCSS<br>.card {<br>  &amp;__image {}<br>  &amp;__description {}<br>  &amp;__button {<br>    &amp;--success{}<br>    &amp;--back{}<br>  }<br>}</pre><pre>// CSS</pre><pre>.card__image {}<br>.card__description {}<br>.card__button--success{}<br>.card__button--back {}</pre><p>Overall, BEM is my favourite CSS naming scheme, and I strongly suggest you to try using it. It will save you SOOO much debugging time in the future. Hopefully, you find this article useful, If so please give me a medium clap. 👏👏</p><p><strong>Reference &amp; Resources</strong></p><ul><li>CSS Tricks BEM 101 (<a href="https://css-tricks.com/bem-101/">link</a>)</li><li>Get BEM (<a href="http://getbem.com/introduction/">link</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab37c6d10b79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSS Grid Essentials. The New way to do web layout]]></title>
            <link>https://medium.com/free-code-camp/css-grid-essentials-the-new-way-to-do-web-layout-894ed3ec68e2?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/894ed3ec68e2</guid>
            <category><![CDATA[css-grid]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Thu, 22 Mar 2018 02:55:45 GMT</pubDate>
            <atom:updated>2018-03-22T02:56:29.164Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PUKgQ2n6o9n4RMUOIKCc8Q.png" /><figcaption>CSS GRID WOOT!!</figcaption></figure><p><strong>Introduction</strong></p><p>CSS grid is the new way to do web layout. It is released in 2017. Currently, It has 83% of all browser support vs 95% on flexbox. 2018 should be the breakout year for CSS grid. There are some major companies that are already using CSS grid on their website such as NY Times.</p><p>You can check out other CSS grid that are currently in production. (<a href="https://cssgrid.designhttps//cssgrid.design/">link</a>)</p><p><strong>Why should you use grid?</strong></p><p>Because it makes sense. Since web development has been invented, we have been solving web layout issues with hacks.</p><p>First, we use tables, then floats, which are suppose to be used so our web looks like magazines. Next, we have flexbox. It’s great for one dimensional but for two-dimensional layout, it’s still weird and not intuitive.</p><p>Finally, in 2017 we have CSS grid, we can make complex masonry or any 2D layout with ease like the ones below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*yFF4uDYtndQ0rQ6MAL5uyg.png" /><figcaption>CSS grid with Masonry</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PUKgQ2n6o9n4RMUOIKCc8Q.png" /><figcaption>2D layout</figcaption></figure><p><strong>Basics</strong></p><p>Here I’ll teach you the basics on how to use grid property, all we need to do is to change the display property to a grid.</p><pre>.container {<br>   display: grid;<br>   grid-template-columns: &lt;track-size&gt;;<br>   grid-template-rows: &lt;track-size&gt;;<br>   grid-gap: &lt;gap-size.;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*0DI0QoG1FkXz8zle8kl9bg.png" /><figcaption>CSS Grid Example</figcaption></figure><p>To do the layout above</p><pre>//HTML<br>&lt;div class=&quot;container&quot;&gt;<br>  &lt;div class=&quot;col&quot;&gt;1&lt;/div&gt;<br>  &lt;div class=&quot;col&quot;&gt;2&lt;/div&gt;<br>  &lt;div class=&quot;col&quot;&gt;3&lt;/div&gt;<br>  &lt;div class=&quot;col&quot;&gt;4&lt;/div&gt;<br>  &lt;div class=&quot;col&quot;&gt;5&lt;/div&gt;<br>  &lt;div class=&quot;col&quot;&gt;6&lt;/div&gt;<br>&lt;/div&gt;</pre><pre>//CSS</pre><pre>.container {<br>   display: grid;<br>   grid-template-columns: 1fr 1fr 1fr;<br>   grid-gap: 15px;<br>}</pre><pre>.col {<br>  width: 100%;<br>  height: 150px;<br>  background: #fff;<br>}</pre><p>After we set our display to grid, we set the number of columns with grid-template-columns. We set three columns with giving it 3 frs (fractional unit).</p><p>fr is a new flexible unit that only works with CSS grid. It is really similar to flex-grow from flexbox. Anyways 1fr means 1 part of the available free space. So, in this case, there are 3 frs which mean 100% divided by 3 so 33.33%.</p><p>Finally, grid-gap is just the space between each grid unit(column and element).</p><p>BOOM! That’s it ! SO EASY.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*5hVDI1CgvGxiC-eyFrKlkA.gif" /></figure><p><strong>Should you use grid?</strong></p><p>If you believe most of your visitor are tech savvy, and younger audience, I recommend you use CSS grid. Because they will be using modern browsers. If your audience is an older generation, and still uses the older browser, then CSS grid is not a good fit for you.</p><p>Either way, I still recommend you to learn CSS grid, because CSS Grid is the future!! Plus it’s easier to write and maintain.</p><p><strong>Resources</strong>:</p><p>Here are some resources, I recommend for learning CSS grid</p><ul><li>A Complete Guide to Grid-(<a href="https://css-tricks.com/snippets/css/complete-guide-grid/">link</a>)</li><li>Grid by Example-Everything you need to learn CSS Grid Layout (<a href="https://gridbyexample.com/">link</a>)</li><li>Mozilla CSS Grid Layout (<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout">link</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=894ed3ec68e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/free-code-camp/css-grid-essentials-the-new-way-to-do-web-layout-894ed3ec68e2">CSS Grid Essentials. The New way to do web layout</a> was originally published in <a href="https://medium.com/free-code-camp">We’ve moved to freeCodeCamp.org/news</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laravel How to send Mails]]></title>
            <link>https://medium.com/@dannyhuang_75970/laravel-how-to-send-mails-fefb8acf4b38?source=rss-7c483256d475------2</link>
            <guid isPermaLink="false">https://medium.com/p/fefb8acf4b38</guid>
            <category><![CDATA[learn-to-code]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Danny Huang]]></dc:creator>
            <pubDate>Fri, 02 Feb 2018 06:13:22 GMT</pubDate>
            <atom:updated>2018-02-02T06:13:22.586Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>This will be a series of posts on different topics on Laravel. I recently started learning Laravel, so I’m going to write a post whenever I see something that’s cool or encounter a new feature of Laravel.</p><ol><li>What is Laravel [<a href="https://medium.com/@dannyhuang_75970/learning-laravel-series-what-is-laravel-9eb37d5aff7">link</a>]</li><li>Laravel Routes</li><li>Learn Blade Template</li><li>Controllers 101</li><li>Migrations &amp; Models</li><li>Authentication</li><li>File Upload-How to</li><li>Send Mails-How to</li></ol><p><strong>Instructions</strong></p><p>Next we want to make new Mailable, in this case it’s called Welcome.</p><pre>// terminal<br>php artisan make:mail Welcome</pre><p>We want to import Mail from Larvel Fascade (Laravel core) to our controller. So we can use the Mail send function.</p><pre>Import Mail</pre><pre>\Mail::to($user)-&gt;send(new Email);</pre><p>The Laravel artisan command will create a php file called Welcome with the mailing modules. We want to send email with the welcome.blade.php.</p><pre>//App\Mail\Welcome;<br>public function build()    <br>{<br>        return $this-&gt;view(&#39;emails.welcome&#39;);<br>}</pre><p>In this demo we will use Mailtrap. So in .env file we want to put in our Mailtrap user and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iced32_3SmbS5mSuoHxYFw.png" /><figcaption>mailtrap dashboard</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*p7p2_obdbtns9Z0YCyrTkg.png" /><figcaption>.env file</figcaption></figure><p>Now in our config/mail.php we want to change the mail from address and mail from name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XnWeJ8XEArcvX4_225fgqA.png" /><figcaption>config/mail.php file</figcaption></figure><p>That’s it. Now Laravel should be able to send mail. Woohoo!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6O2Qg8TBe7x4Xw5Bzb5FA.png" /><figcaption>Mailtrap demo email</figcaption></figure><p><strong>Extra Customization</strong></p><p>If we want to use Markdown for your email template, we want to use the following command.</p><pre>php artisan make:mail WelcomeAgain — markdown=“emails.welcome-again”</pre><p>If we want to use able to customize the css, we can type the following command this will eject the css and put it in the vendor folder so we can access them.</p><pre>php artisan vendor:publish -tag=laravel-mail</pre><p>That’s it for this post! See you next time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fefb8acf4b38" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>