Giter VIP home page Giter VIP logo

assignment's Introduction

Addignment

Hi Dear

There are some assignments to help us know you better. Please make sure to find the best solution for each problems and also pass all tests.

Where To Start

To start the quiz, first clone the project from command line or download the zip file.

$ git clone https://github.com/hamedghaderi/assignment.git

Next go to the downloaded directory and install it's requirements.

$ cd /PROJECT_PATH/assignments
$ composer install

If your PHP version is under 7.4, please upgrade to PHP 7.4. There is no need to install database.

Get Familiar With Project

If you look around, there are two basic folders src and tests. We have some problems inside the tests and want to find the best solution for each problem.

We're trying to make Markdown reader for to help us generate our emails, something like github markdown. There are 4 scenarios to handle.

Title

First we want to generate a title from markdown. To make this happen, we want to change all #Words into an h1. There is a TitleTest inside our tests and a Title class inside src. Test is failed. So handle the problem the way tase passes.

Link

We want to generate a link from markdown. To make this happen, we want to change all [Goggle](http://www.gogle.com) into an anchor tag. There is a LinkTest inside our tests and a Link class inside src. Test is failed. So handle the problem the way tase passes.

Italic

We want to generate an italic text from markdown. To make this happen, we want to change all _words_ into an italic tag. There is an ItalicTest inside our tests and a Italic class inside src. Test is failed. So handle the problem the way tase passes.

Bold

We want to generate a bold text from markdown. To make this happen, we want to change all __words__ into a bold tag. There is an BoldTest inside our tests and a Bold class inside src. Test is failed. So handle the problem the way tase passes.

Time conversion

We have a class to convert a given time in minutes and change it into hour or seconds. To make this happen we have a TimeConversionTest inside tests and a TimeConversion class inside src. Test is failed. So write your code the way change it to green.

Good Luck

assignment's People

Contributors

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