Giter Site home page Giter Site logo

gfont-clone-challenge's People

Contributors

natmarek avatar sarafotros avatar

Watchers

 avatar

gfont-clone-challenge's Issues

Feature: Showing CSS information

When you click on the red plus symbol, a box should appear from the bottom with the following CSS information:

The import statement to add the font to a CSS file, and the font family information.
eg:

@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
font-family: 'Roboto', sans-serif;

This information is available from the Google fonts website.

You can style it however you want, as long as it contains the correct information for each font.

(Optional) Make all text visible

For some of the fonts, there is some overflow in the text area causing a vertical scroll bar (because the text area doesn't fit all the text in it).

Can you make the text reduce in size to ensure that all the text is visible in the text area?

Feature: Change all text simultaneously

When you start typing in one of the text boxes, a button should appear which allows you to apply the text you type to every box.

See the google font's website for a working example:

apply-button

CSS information should be visible on screen

It should be immediately obvious what a button does (from a user's point of view).

When a user clicks the red plus icon, something should happen on screen.

Present the CSS information either in a pop up, sidebar or overlay. Your choice

Feature: Add a Navbar to the page

Implement a navbar on the page which contains a search bar.

When you type in the name of a font, it should display only that font box

Red plus icons should only be able to control their own font information.

When you click on a red icon, it should only be able to toggle it's own font information on the screen.

Current situation:
If you click the icon on one font - it will show the css information for that font.
If you then click the icon on a different font - it will close the css information for the previous font.

From a user's point of view - when the red icon is clicked it should show the CSS info for that font (and that is it's only job)

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.