Coder Social home page Coder Social logo

gelizabeth / countries-react-sass-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 679 KB

Responsive Countries API application with color theme switcher. Built with React and Sass. Challenge from frontendmentor.io

Home Page: https://countries-react-sass.netlify.app/

HTML 3.21% JavaScript 43.30% SCSS 53.49%
frontend-mentor react scss color-theme-switcher frontend-mentor-challenge

countries-react-sass-api's Introduction

REST Countries API with color theme switcher - Frontend Mentor challenge

Design preview for the REST Countries API with color theme switcher coding challenge

Welcome! ๐Ÿ‘‹

Thanks for checking out my solution for this front-end coding challenge.

The challenge

The challenge is to integrate the REST Countries API to pull country data and display it like in the designs.

Users are able to:

  • See all countries from the API on the homepage
  • Search for a country using an input field
  • Filter countries by region
  • Click on a country to see more detailed information on a separate page
  • Click through to the border countries on the detail page
  • Toggle the color scheme between light and dark mode (optional)

Solution Live demo

For this solution i've used React and Sass. I've worked on routing, redirecting, data fetching in React and data filtering (filters by parts of the world and filtering with search field).

Instalation and use

If you want to clone repository and ajust this solution for your needs you'll need to follow some steps.

$ git clone https://github.com/gelizabeth/countries-react-sass-api.git

Clones repository to your local enviroment.

npm install

Installs project dependencies (React and Sass).

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

npm run build

Builds the app for production to the build folder.

Contact me

If you have questions about this project or want to work with me feel free to send me a message.

๐Ÿ“ง Email: [email protected]
๐ŸŒ Web: yelyzaveta.netlify.app

countries-react-sass-api's People

Contributors

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