Coder Social home page Coder Social logo

usthing_test's Introduction

USThing Recruitment Test 1 (Frontend)

Introduction ๐Ÿ’ฌ

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.

Tips ๐Ÿ’ก

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!!!!!

Restrictions โ›”

  • 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.

Part 1

In this part, you will answer 3 simple coding questions in JavaScript or TypeScript. Please type your answers into codingQuestion.js or codingQuestion.ts.

Question 1

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.

Question 2

Write a program which prints from 1 to 1000. When the number contains a digit that is a multiple of 3, print "three" instead.

Question 3

Given an array of integer (e.g. [2, -5, 12, 7, -7, -219, ...]), return the unique values in an array.


Part 2

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).

React ๐Ÿ˜

Create a new React app and work on the following tasks:

Task 1

  1. Create a navbar which can navigate to different pages using Router
  2. On the homepage, create a content slideshow with 5 random events from the API

Task 2

  1. In the /server folder, install dependencies and start the API server.
  2. Create a new page "events" with the following requirements:
    1. The events page contains a list of eventDesc.
    2. eventDesc is a reusable component that shows image of a single event, event name, and event description
    3. Get contents for eventDesc from the API and output it onto the events page.

Task 3

Use the API to create functional create, edit, and delete components for eventDesc.

Task 4

Design the web app to make it prettier

Next.js ๐Ÿ˜

Create a new Next.js app and work on the following tasks:

Task 1

  1. Create a navbar which can navigate to different pages
  2. On the homepage, create a content slideshow with 5 random events from the API

Task 2

  1. In the /server folder, install dependencies and start the API server.
  2. Create a new page "events" with the following requirements:
    1. The events page contains a list of eventDesc.
    2. eventDesc is a reusable component that shows image of a single event, event name, and event description
    3. Get contents for eventDesc from the API and output it onto the events page.
    4. Fetch the data using server-side technique

Task 3

Use the API to create functional create, edit, and delete components for eventDesc.

Task 4

Design the web app to make it prettier


Resources ๐Ÿค“

  • A very simple ExpressJS API is included in this repo. You may add or modify the API to fit your needs if you wish so.
  • You can find the API documentation here
  • You can try-out the API using Postman
  • You may use UI and animation libraries (Bootstrap, Bulma, anime.js, GSAP etc.) for the website design.

usthing_test's People

Contributors

kevinkent1505 avatar edwinshiu avatar tsznokwong avatar yenloned avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.