Coder Social home page Coder Social logo

faqs's Introduction

Artlogic_header

Artlogic FAQs

Overview

A simple FAQ's responsive page using HTML, CSS, and Vanilla JavaScript.

Code Installation

  1. Clone or download repo
  2. Run npm install in your command line to install dependencies
  3. Run live-server in your command line
  4. Page will be launched on http://127.0.0.1:8080/

Responsiveness

ezgif com-gif-maker

One of the main requirements was to ensure the page was 100% responsive. I set out to achiveve this by using max-widths and percentage units allowing the content to scale up or down based on its container width. Because of this, I was able to adapt to all screen sizes and resolutions, which meant only using media query's when the content started to appear distorted.

Rendering json

To render to FAQ points from the json file, I used the live-server library.

Interactivity

In order to expand the questions to reveal the answers, I added a class that has a css max-height property to the element, on click using JavaScript. The class also has a transition property to display a seamless effect when collapsing/expanding.

faqs's People

Contributors

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