Log In
Sign Up
Jobs
Job Search
Explore all available job openings across industries and locations.
Company Search
Find your dream jobs categorized by company names.
Themed Jobs
Discover job opportunities organized by specific themes or industries.
Download our App
Tools
Resume
Create your job-winning resume using our free resume builder.
Portfolio
Showcase your skills and projects with a professional portfolio.
Resume
Create your job-winning resume using our free resume builder.
Resume Builder
Make a resume for free.
Resume Templates
Access our extensive library of professional & ready-to-use templates.
Resume Examples
Get inspired by real resume examples to create your own.
Occupation Guide
Access resume writing guides tailored for different professions.
Resume Help
Get expert advice on all things resume from our team of recruitment specialists.
Portfolio
Showcase your skills and projects with a professional portfolio.
Portfolio Maker
Create a professional portfolio to highlight your skills and projects.
Portfolio Gallery
Browse through our collection of real portfolios for inspiration and networking.
Resources
Articles
Read insightful articles on career development, job search strategies, and more.
View All Articles
Job Search Guide
Resume & CV
Cover Letter
Portfolio
Interview Skills
Job Search Tips
Industry & Job Overview
Career Guidance
Career Planning
Career Tools
Career Development
Personal Branding
Success Stories
Success Stories
Business Excellence
People Operations
Recruitment & HR
About CakeResume
People & Culture
News & Updates
Events
Featured Reads
Resume & CV
What to Write in an Email When Sending a Resume [+ Examples & Tips]
Read More
Hire
Talent Search
Find Resumes.
Job Posting
Start for Free.
Recruitment Service
Acquire Talent.
Employer of Record (EOR)
Empower Your Business in Taiwan.
Employer Branding
Build and promote your employer brand.
Pricing
Job Posting Plans
Talent Search Plans
Resume Builder Plans
Build your Network
My Network
Access your personal network connections and manage your contacts.
CakeResume Meet
Expand your professional network by meeting and connecting with other users.
Community
Engage with other users through discussions, forums, and networking events.
Download our App
Build your Network
My Network
Access your personal network connections and manage your contacts.
CakeResume Meet
Expand your professional network by meeting and connecting with other users.
Community
Engage with other users through discussions, forums, and networking events.
Log In
Sign Up
Portfolios
白雅慧
JavaScript RESTful API 介接專案 — Todo List
JavaScript RESTful API 介接專案 — Todo List
JavaScript RESTful API 介接專案 — Todo List
By
白雅慧
Front-End Developer
・
Taipei, Taiwan
Connect
Todo List 線上待辦事項
JavaScript RESTful API 介接專案
Todo List 待辦事項
Demo
|
GitHub
網站功能
會員註冊/登入/登出
待辦事項新增/修改/刪除
可針對待辦事項修改及刪除,並勾選待辦事項來切換"待完成/已完成"狀態
使用技術
使用 Axios 套件 串接 API
JWT 實作會員驗證功能
使用 正規式 進行 註冊/登入 功能字串比對
使用 localStorage 將網頁中的資料儲存在使用者的瀏覽器中
使用 RWD 響應式網頁設計,並導入 Sass/SCSS
使用說明
登入信箱、密碼後可進入 Todo List 主頁,初次登入需先進行帳號註冊。
登入顯示使用者暱稱,輸入待辦事項後,點選+符號來新增代辦事項。
可針對待辦事項內容做修改及刪除,並勾選待辦事項來切換"待完成/已完成"狀態。
針對已完成的待辦事項,可點選"清除已完成項目"進行全部刪除。
使用完畢可進行登出。下一次登入依然會保存先前資料。
※ 注意:Todo List API 每天(24h)會進行清除! 以及不會儲存用戶資料至資料庫(僅緩存)
學習紀錄
串接 Todo List API ,設計登入/登出/註冊/新增/修改/刪除、切換狀態功能。
使用「正規式」(Regular expressions)進行註冊、登入時的字串比對。
使用 localStorage ,將網頁中的資料儲存在使用者的瀏覽器中。
Promise.all 透過「陣列的形式」傳入多個 promise 函式。多個 Promise 行為同時執行,全部完成後統一回傳。
location.pathname 返回當前頁面的路徑和文件名
使用 RWD 響應式網頁設計,並導入 Sass/SCSS
三元運算子
Project 說明 使用 JavaScipt 實作 Todo List ,透過原生 JavaScipt 操作 DOM API,並串接 Todo List API ,設計登入/登出/註冊/新增/修改/刪除、切換狀態功能。
Report
Please login to comment.
Post
白雅慧
Connect
Published: Dec 1st 2022
69
3
0
Tools
SASS
CSS3
HTML5
JavaScript
API
RWD
JavaScipt
Share
Other works from
白雅慧
揪愛一起玩 旅遊電商網站