/Notion-like_editor

Primary LanguageJavaScriptMIT LicenseMIT

Helpjuice Front-end assignment

This is a front-end developer test project. The webpage allows users to create H1 text by simply typing '/1' and provides a keyboard shortcut to streamline the process. The project utilizes React functional components with the use of hooks such as useRef, useState, useEffect and it makes use of other components such as NavBar, UserNav, and CmdPopup. The core functionality of the webpage lies in the editor-app component, which takes in an array of text and its corresponding tag, and maps it to the appropriate HTML tag. The CmdPopup component is triggered by the user typing '/' in the editor and displays a list of available tags for selection.

Live Demo

🖇 Live Demo:  here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

Follow these steps to install the project:

1 - Clone the repository

git clone git@github.com:a-laarabi/Notion-like_editor.git

2 - Install the dependencies

npm install

3 - Run the project

npm start

Built With

React.js - The JavaScript library used for building user interfaces

Authors

👤 Anasse Laarabi

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.