Posts

Showing posts from November, 2021

How to migrate the Yarn from v1 to the latest version

Image
  The project should have yarn installed. under the directory of your project: npm install -g yarn you can get the latest version like 1.22.17 2.  yarn set version berry this will enable the version 2+ But! When I check after this, my yarn version didn’t change. berry doesn’t work,orz so I use  yarn set version 3.1.0 And the version changed. And also I tried  yarn set version latest 3. rm -fr node_modules remove modules to set to v3 project 4. run  yarn there is a cache file. And yarn v3 creates a file .yarnrc.yml includes the yarn path inside. the No d eLinker will appear in the yarnrc.yml file 5. yarn add . yarn commit -m “yarn upgrade to v3” Commit the changes 6.run  yarn install  to migrate the lockfile More info check: The  official document

what I learned from 10 Javascript Projects from Florin Pop

Image
When you start to study Front-end development, you will learn HTML, CSS, Javascript and then the other frame for easy building such as React, Angular, VUE.  The Javascript knowledge is the basis for a front-end developer. Even when you connect with React for front-end or Node.js for back-end. So I am trying to practice Javascript with small projects to improve my skills. Actually, it's never outdated for these years, the basic knowledge contains in the projects usually. I choose the 10 Javascript projects in 10 hours of Florin Pop, and I can not believe I really spent a whole day doing it. For viewers who would like to get more details. here is his Github  code. And I also will show the code below for easy checking. 1.countdown timer See the Pen countdown timer by Yifang Di ( @diyifang ) on CodePen . 2.Quiz App See the Pen Quiz App by Yifang Di ( @diyifang ) on CodePen . 3. recipe app See the Pen Recipe App by Yifang Di ( @diyifang ) on CodePen . 4. Note