掩碼 項目編碼_每天進行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.pswp.cn/news/392395.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/392395.shtml
英文地址,請注明出處:http://en.pswp.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 …