Coder Social home page Coder Social logo

fe-dev-task's Introduction

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Directions

Your goal is to build a website component in Next.js using a combination of JavaScript, HTML, and CSS.

  1. Build a component consistent with the design (see screenshot and design below)
  2. Retrieve the questions and answers from the db.json file located in the _data folder using the provided json-server package and getData function.
  3. Use the included id to sort and number the questions in chronological order for display on the page
  4. Your code should be able to handle additional FAQs added in the future
  5. The answers should be hidden by default and revealed when the user clicks the question
  6. Show off your CSS skills and include some animations if you have time
  7. Create a new branch, with your name as part of the branch name, and push your code to it at the end of the time limit

๐ŸŽจ Some baseline styles, header, footer, fonts and brand colors have been provided as well as an SVG image from the design.

Data Fetching

This project includes a json file in the _data folder. To use it install json-server and run npx json-server --watch --port 4000 ./_data/db.json. There is a getData function already built that will get the data.

The Design

alt text

The design file can be viewed here: https://www.figma.com/file/qM1evJc5mx2Pw6J6gkNnTk/Dev-Task-Design?type=design&node-id=1%3A7&mode=design&t=FDPoBROl4DgY9O8c-1

๐Ÿคซ Hint: Use Figma dev mode to get specifics on styles and colors

Rules

Use any resources at your disposal aside from AI tools. Google, Stackoverflow, and other web resources are all fair game. You can reach out to the interviewers with questions as well.

Learn More about Next.js

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

fe-dev-task's People

Contributors

sgraim-qg avatar

Watchers

Michael King-Stockton 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.