掩码 项目编码_每天进行20天的编码项目

掩码 项目编码

by Angela He

通过何安佳

每天进行20天的编码项目 (A coding project a day for 20 days)

我如何在20天内自学Web开发 (How I taught myself web development in 20 days)

It was the first day of winter break for Stanford students. Back at home, I opened a dozen tabs of coding inspiration, got onto a code editor, and created my first coding project. 20 days later, I created my last project before packing up and flying out to return to the college grind.

这是斯坦福大学学生寒假的第一天。 回到家里,我打开了十二个编码灵感标签,进入了一个代码编辑器,并创建了我的第一个编码项目。 20天后,我创建了我的最后一个项目,然后打包整理并飞回大学。

I challenged myself to code a project every day so I could gain the skills to make a website as amazing as the websites that inspire me. To make my numerous ideas into reality, and be able to share them with the world, has always been my driving force, first in art, now in code.

我每天都在挑战自己编写一个项目的代码,这样我才能掌握使网站像激发我灵感的网站一样惊人的技能。 使我的众多想法变为现实,并能够与世界分享,一直是我的动力,首先是艺术,现在是代码。

During those 20 days, I taught myself multiple web development languages and created many projects including a messaging app, a notes app, and a chatbot.

在那20天内,我自学了多种Web开发语言,并创建了许多项目,包括消息传递应用程序,便笺应用程序和聊天机器人。

You can find my 20 Days projects on CodePen.

您可以在CodePen上找到我的20天项目。

Here are my tools, creative process, and some reflection at the end.

这是我的工具,创作过程以及最后的几点思考。

工具类 (Tools)

I used all of the following tools, but everything beyond HTML, CSS, Javascript, and a code editor is optional.

我使用了以下所有工具,但HTML,CSS,Javascript和代码编辑器之外的所有工具都是可选的。

  • CodePen. An online code editor for HTML, CSS, and Javascript where users can showcase their work — great for getting your web dev code seen.

    CodePen。 用于HTML,CSS和Javascript的在线代码编辑器,用户可以在其中展示其工作-非常适合查看您的Web开发代码。

  • Photoshop. A world-class graphics editor for creating raster graphics. I created graphics for certain projects with this and a Huion tablet.

    Photoshop。 世界一流的图形编辑器,用于创建栅格图形。 我使用此软件和Huion平板电脑为某些项目创建了图形。

  • HTML. Hypertext Markup Language; creates the content of a webpage.

    HTML。 超文本标记语言; 创建网页的内容。
  • Pug. A template engine for a more ‘clean, whitespace sensitive syntax for HTML’ — great for speeding up development.

    哈巴狗 一个模板引擎,用于更“干净的,对HTML的空格敏感的语法” —非常适合加快开发速度。

  • Bootstrap. A component library for getting responsive components up quick. Great for speed; not so great for unique designs since every component will have a predetermined look.

    引导程序。 一个组件库,用于快速启动响应式组件。 非常适合速度; 对于独特的设计来说并不是那么好,因为每个组件都具有预定的外观。

  • CSS. Cascading Style Sheets; dictates the design of a webpage.

    CSS。 级联样式表; 决定网页的设计。
  • Sass. Style sheet language that provides variables, functions, mixins, and more to streamline creating CSS.

    ass子 样式表语言,提供变量,函数,mixin等,以简化CSS的创建过程。

  • Javascript. Used to define unpredictable or user-controlled events of a webpage.

    Javascript。 用于定义网页的不可预测或用户控制的事件。
  • React. A Javascript library that helps maintain state and create the content of a webpage by separating each part into a reusable component.

    React 一个Javascript库,通过将每个部分分成一个可重用的组件来帮助维护状态并创建网页的内容。

  • jQuery. A Javascript library to help simplify HTML DOM manipulation and traversal — note, however, that its ease comes at the cost of its relatively large size — around 30 KB.

    jQuery的。 一个有助于简化HTML DOM操作和遍历的Javascript库-但是请注意,它的简便性是以相对较大的大小为代价的-大约30 KB。

  • three.js. A Javascript library for creating and displaying 3D models.

    three.js。 一个用于创建和显示3D模型的Javascript库。

  • Firebase. A mobile and web platform that provides easy access to database, messaging, authentication, and other services.

    火力基地。 一个移动和Web平台,可轻松访问数据库,消息传递,身份验证和其他服务。

创作过程 (Creative Process)

To successfully create a project, I had to do two things:

要成功创建一个项目,我必须做两件事:

  1. Have an idea,

    有个主意
  2. Know it’d be feasible.

    知道这是可行的。

Thus my creative process took form in three steps —

因此,我的创作过程分三步走:

1.了解一个想法(30分钟) (1. Get an idea (30 min))

My goal for each project was to make something cool while learning something new. With that in mind, I browsed my favorite design and web development sites for inspiration —

对于每个项目,我的目标都是在学习新知识的同时做一些有趣的事情。 考虑到这一点,我浏览了自己喜欢的设计和Web开发网站以获取灵感-

My favorite design sites:

我最喜欢的设计网站:

  • Dribbble.

    运球 。

  • Behance.

    行为 。

  • Daily UI.

    每日用户界面 。

My favorite web dev sites:

我最喜欢的Web开发网站:

  • CodePen.

    CodePen 。

  • Awwwards.

    啊 !

  • Codrops.

    科洛普斯 。

  • CodyHouse.)

    CodyHouse 。)

And brainstormed a list of ideas like the following —

并集思广益,列出了如下想法:

…then picked my favorite out of the list as the Official Idea of the Day.

…然后从列表中选择了我最喜欢的作为“每日官方想法™”

2.查找示例(30分钟) (2. Find examples (30 min))

For every idea I had, I knew some part of it must have an existing implementation on the web. I scoured the internet for elegant implementations. Some sites that usually led to public solutions include —

对于我的每个想法,我都知道其中的某些部分必须在网络上已有一个实现。 我在互联网上搜索了优雅的实现。 通常导致公开解决方案的一些网站包括-

  • GitHub

    的GitHub

  • CodePen

    密码笔

  • JSFiddle

    JSFiddle

  • StackOverflow

    堆栈溢出

  • Plain Old Google

    普通的旧Google

  • ..and going into Chrome Developer Tools on any website that seems similar to what I was trying to accomplish.

    ..然后进入似乎与我想要完成的网站类似的任何网站上的Chrome开发者工具。

I studied what had been done, how it’d been done, then combined what I’d learned to make the cleanest solution I could.

我研究了已经完成的工作,如何完成工作,然后结合我所学到的知识来制定最干净的解决方案。

No need to reinvent the wheel when you can improve upon the past.

当您可以改善过去时,无需重新发明轮子。

3.创建! (当日余下的时间) (3. Create! (rest of the day))

Armed with an idea and examples, I made my idea into reality. Every day there’d be roadblocks, and progress would seem mind-numbingly slow. But with online research, I learned from my mistakes and got more knowledgeable and faster every day.

有了一个想法和例子,我使我的想法变成了现实。 每天都有障碍,进展似乎令人麻木。 但是,通过在线研究,我可以从错误中吸取教训,并且每天都能掌握更多知识,并且更快。

第1至9天:重新创建示例 (Days 1–9: recreating examples)

For days 1 to 9, I took a design or website I especially liked and tried to recreate it.

从第1天到第9天,我选择了一个我特别喜欢的设计或网站,然后尝试重新创建它。

10到20天:提出独到的见解 (Days 10–20: Develop original ideas)

Once I became more comfortable with web development, I based my coding projects on original ideas I’ve always wanted to do, like interactive art, original fonts, and a cute notes app.

一旦我对网络开发变得更加满意,我就将我的编码项目基于我一直想做的原始想法,例如交互艺术,原始字体和一个可爱的note应用程序。

反射 (Reflection)

1.学到终身知识。 (1. Learned lifelong knowledge.)

Looking back, I came a long way from where I was before. Over the 20 days, I learned Bootstrap, jQuery, React, Pug, Sass, and other tools, as well as loads of neat HTML/CSS/Javascript concepts such as blend modes, masking and clipping, animations, pseudo elements, media queries, closures and context, Promises, and much more. These will help me tackle future projects, especially if and as web development and progressive web apps become more popular.

回首过去,我已经走了很远。 在这20天的时间里,我学习了Bootstrap,jQuery,React,Pug,Sass和其他工具,以及大量简洁HTML / CSS / Javascript概念,例如混合模式,蒙版和剪切,动画,伪元素,媒体查询,闭包和上下文,承诺等等。 这些将帮助我应对未来的项目,尤其是当Web开发和渐进式Web应用变得越来越流行时。

2.永远没有足够的时间。 (2. Never enough time.)

Although I learned a lot, I didn’t learn as much as I’d like. I’m saddened I didn’t have time to learn other tools I had my eye on, like Vue.js, Redux, GreenSock, and others. Nonetheless, those are all things I can go back and work on in the future.

尽管我学到了很多东西,但我没有学到很多。 我很伤心,我没有时间学习我关注的其他工具,例如Vue.js , Redux , GreenSock等。 尽管如此,这些都是我以后可以继续努力的事情。

It was better to take time to understand my tools instead of rushing from one tool to the next without understanding.

最好花一些时间来了解我的工具,而不要在不了解的情况下匆匆忙忙地使用一种工具。

3.对自己充满信心。 (3. Grew confident in myself.)

Most importantly, I grew to believe in my coding and creative abilities.

最重要的是,我逐渐相信自己的编码和创造能力。

Instead of starting a massive project (again) and never finishing it (again), I’d complete a project from start to end every day or two, forced to scope small by the time limit.

我不会(再一次)开始一个庞大的项目,也不会再一次(再一次)完成它,我每天或每两天从头到尾完成一个项目,受时间限制而不得不缩小范围。

With every completed project, I grew more confident in my skills, ambition, and ability to achieve goals.
在完成每个项目后,我对自己的技能,雄心和实现目标的能力变得更加自信。

Unlike last winter break, where I started a (still unfinished) project then became discouraged by the immeasurable work it required, I’m encouraged by this break. Today, I’m content back at Stanford, grateful for what I’ve learned, a little more confident, and eager to create more.

与去年冬季休假不同,在这里我开始了一个(仍未完成的)项目,然后由于需要做的无量工作而灰心丧气,这次休假使我感到鼓舞。 今天,我对斯坦福大学感到满意,对我所学到的知识表示感谢,更加自信,并渴望创造更多。

Big thanks to Tiantian Xu who inspired me with her 100 days of motion design!

非常感谢徐天天的 100天运动设计启发了我!

If you liked reading this, be sure to give a ?(or several!) It’d mean so much to me. ?

如果您喜欢阅读本文,请务必给一个(或几个!)这对我来说意义非凡。 ?

You can also follow me on Twitter, Tumblr, Instagram, and GitHub for more cool projects :)

您也可以在Twitter , Tumblr , Instagram和GitHub上关注我,以获得更多有趣的项目:)

翻译自: https://www.freecodecamp.org/news/a-coding-project-a-day-for-20-days-5cd4c9383f84/

掩码 项目编码

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/392395.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

java循环一年月份天数和_javawhile循环编写输入某年某月某日,判断这一天是这一年的第几…...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼public class ZuoYe9 {public static void main(String[] args) {int days0; //存储变量这一年的第几天//1.输入年,月,日Scanner inputnew Scanner(System.in);System.out.println("请输入年份&#xf…

leetcode 605. 种花问题(贪心算法)

假设你有一个很长的花坛,一部分地块种植了花,另一部分却没有。可是,花卉不能种植在相邻的地块上,它们会争夺水源,两者都会死去。 给定一个花坛(表示为一个数组包含0和1,其中0表示没种植花&…

工程师的成熟模型_数据工程师的成熟度

工程师的成熟模型数据科学与机器学习 (DATA SCIENCE AND MACHINE LEARNING) What does a data engineer do?数据工程师做什么? Let’s start with three big wars that we need to understand before understanding what a data engineer does.让我们从理解数据工…

杭电2064

此题是一道简单的递归 此题是一道递归运算题,这题又是一道汉诺塔问题!!!只要了解其规律,呵呵,你就可以很快AC了!! 这是一般的汉诺塔问题的解题方法照片!!&…

/ ./ ../ 的区别

/ 根目录 (绝对路径) ./ 当前目录 ../父级目录 (相对路径) ./home是当前目录下的一个叫home的目录/home是绝对路径的/home就是根下的home目录转载于:https://www.cnblogs.com/sjd1118/p/7055475.html

java设置表格列不可修改_Java DefaultTableModel使单元格不可编辑JTable

参见英文答案 >How to make a JTable non-editable 7个我有一个JAVA项目,并希望使用DefaultTableModel使我的JTable不可编辑.我知道一个解决方法,称为:JTable table new JTable(...){public boolean isCellEditable(int row…

阻塞队列实现

⭐ 作者:小胡_不糊涂 🌱 作者主页:小胡_不糊涂的个人主页 📀 收录专栏:JavaEE 💖 持续更文,关注博主少走弯路,谢谢大家支持 💖 阻塞队列 1. 什么是阻塞队列2. 标准库中的…

graphql入门_GraphQL入门指南

graphql入门by Leonardo Maldonado莱昂纳多马尔多纳多(Leonardo Maldonado) GraphQL入门指南 (A Beginner’s Guide to GraphQL) One of the most commonly discussed terms today is the API. A lot of people don’t know exactly what an API is. Basically, API stands fo…

leetcode 239. 滑动窗口最大值(单调队列)

给你一个整数数组 nums,有一个大小为 k 的滑动窗口从数组的最左侧移动到数组的最右侧。你只可以看到在滑动窗口内的 k 个数字。滑动窗口每次只向右移动一位。 返回滑动窗口中的最大值。 示例 1: 输入:nums [1,3,-1,-3,5,3,6,7], k 3 输出…

scrape创建_确实在2分钟内对Scrape公司进行了评论和评分

scrape创建网页搜罗,数据科学 (Web Scraping, Data Science) In this tutorial, I will show you how to perform web scraping using Anaconda Jupyter notebook and the BeautifulSoup library.在本教程中,我将向您展示如何使用Anaconda Jupyter笔记本…

ArcGIS自定义高程

没写呢。 转载于:https://www.cnblogs.com/jiangyuanjia/p/11220183.html

Java基础——String类(一)

一、String 类代表字符串 Java 程序中的所有字符串字面值(如 "abc" )都作为此类的实例实现。 字符串是常量;它们的值在创建之后不能更改。字符串缓冲区支持可变的字符串。因为 String 对象是不可变的,所以可以共享。例如…

java jol原理_Java对象布局(JOL)实现过程解析

java对象布局JOL(java object layout),描述对象在堆内存的布局。如下图:1.markword 固定长度8byte,描述对象的identityhashcode,分代年龄,锁信息等(https://www.jb51.net/article/183984.htm);2.klasspoint 固定长度4b…

数据库维护相关

(1)SQL Server 查看数据表使用空间 exec sp_spaceused 表名 (2)SQL Server 数据表使用空间排序 exec sp_MSForeachTable precommandN create table ##( table_name sysname, records int, save_space Nvarchar(10), use_space var…

Redux初学者指南

by Safeer Hayat通过更安全的哈亚特 Understanding Redux as a beginner can be quite confusing. Redux has an abundance of new terms and concepts which are often pretty unintuitive. This guide presents a very simplified example of a Redux implementation. I wil…

leetcode 86. 分隔链表(链表)

给你一个链表和一个特定值 x ,请你对链表进行分隔,使得所有小于 x 的节点都出现在大于或等于 x 的节点之前。 你应当保留两个分区中每个节点的初始相对位置。 示例: 输入:head 1->4->3->2->5->2, x 3 输出&am…

极光推送

推送原理 IOS 通过APNs推送服务。 每个设备只要保持一个与APNs的常链接,服务器将要推送的消息发送给APNs,APNs再将消息转发到响应的手机,手机内置的程序再进行分发,到响应的APP,就能很好的实现推送功能 Andriod 虽然谷…

电脑通过手机上网的方法

(适用于包月CMWAP无限流量服务,只收CMWAP费用)移动手机(GPRS) CMWAP无限流量包月服务,可以通过手机作调制解调器,将手机和电脑连接用代理服务器上网. 看到了很多帖子,整理了一下,把它贴出来供大家参考。一 该方法对手机要求:1 手…

java入门学习_Java入门学习进阶知识点

Java入门学习进阶知识点入门阶段,主要是培养Java语言的编程思想。了解Java语言的语法,书写规范等,掌握Eclipse、MyEclipse等开发工具,编写Java代码的能力。学完这个阶段你应该可进行小型应用程序开发并且可以对数据库进行基本的增…

如何不认识自己

重点 (Top highlight)By Angela Xiao Wu, assistant professor at New York University纽约大学助理教授Angela Xiao Wu This blog post comes out of a paper by Angela Xiao Wu and Harsh Taneja that offers a new take on social sciences’ ongoing embrace of platform …