1lch2 / JavaScript_Exercise

Learning frontend development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript_Exercise

This is a personal repository for frontend learning.

Code practices and leetcode solutions are written in vanilla JavaScript. No worry for node_modules, though you may need ESLint for syntax checking and some other stuff.

Notes

See directory /note. Notes are categorized by language and framework. Note that some notes are not completed, which will be finished in future, or never.

Practice

Data structure

  • /src/algorithms for data structure implementations. Nothing fancy here.
  • /src/functions for popular JS function implementations. You can find solutions for most tech interview questions here. Totally useful.
  • /src/designPattern for common JS design pattern implementations. Not many, but critical.
  • /src/css for common CSS layout implementations. For detailed notes, check these links:

LeetCode

See /src/leetcode for leetcode problem solutions implemented in vanilla JS. All solutions are categorized by tag.

Code comments are written in Chinese for my convenience. Most people should be able to understand the idea bebind those lines of code.

Handy npm scripts for LeetCode revision

  • npm run rand: Open a random local LeetCode problem in VSCode.
  • npm run rand100: Open a random top 100 LeetCode problem in VSCode. Top 100 ranking data is fetched from http://codetop.cc/home with local cache.

Script source files are located in /src/script.

Reference

My browser bookmarks are way too many to write every single link down here. I will just leave a few links which I think are pretty useful.

About

Learning frontend development


Languages

Language:JavaScript 97.3%Language:HTML 2.0%Language:TypeScript 0.5%Language:CSS 0.2%