There are two parts in this test. In the first part, you will answer 3 simple coding questions in JavaScript or TypeScript. In the second part, you will make a simple event management website using React or Next.js. You may search the internet or other sources for references freely during this test. NodeJS installation is needed.
Note that functionality and readability are equally important. So pay attention to your code structure and add comments whenever you think it's needed.
Feel free to ask our members if you have any questions ๐
Happy Coding! ๐
P.S. Remember to submit the codingQuestion
file together with the web wpp.
P.P.S. Please submit your answers even if you have not finished the tasks!!!!!
- You are not allowed to share/discuss any part of this test with anyone ๐
- Once found, you will be immediately disqualified
- We take integrity seriously here in USThing ๐
- You can only use JavaScript, TypeScript, React, or Next.js.
In this part, you will answer 3 simple coding questions in JavaScript or TypeScript. Please type your answers into codingQuestion.js
or codingQuestion.ts
.
Given an array of positive integer (e.g. [2, 5, 12, 4, 19, 73, ...]
), return the sum of the array where the value is an odd number.
Write a program which prints from 1 to 1000. When the number contains a digit that is a multiple of 3, print "three" instead.
Given an array of integer (e.g. [2, -5, 12, 7, -7, -219, ...]
), return the unique values in an array.
Clone this repository and work on the following tasks. You can choose to write it in React or Next.js. Note that bonus points will be given to applicants writing in Next.js and TypeScript (a good and responsive design will also be a bonus).
Create a new React app and work on the following tasks:
- Create a navbar which can navigate to different pages using Router
- On the homepage, create a content slideshow with 5 random events from the API
- In the
/server
folder, install dependencies and start the API server. - Create a new page "events" with the following requirements:
- The events page contains a list of eventDesc.
- eventDesc is a reusable component that shows image of a single event, event name, and event description
- Get contents for eventDesc from the API and output it onto the events page.
Use the API to create functional create, edit, and delete components for eventDesc.
Design the web app to make it prettier
Create a new Next.js app and work on the following tasks:
- Create a navbar which can navigate to different pages
- On the homepage, create a content slideshow with 5 random events from the API
- In the
/server
folder, install dependencies and start the API server. - Create a new page "events" with the following requirements:
- The events page contains a list of eventDesc.
- eventDesc is a reusable component that shows image of a single event, event name, and event description
- Get contents for eventDesc from the API and output it onto the events page.
- Fetch the data using server-side technique
Use the API to create functional create, edit, and delete components for eventDesc.
Design the web app to make it prettier