Git Product home page Git Product logo

2018-08-14-04-17-05-1534220225's Introduction

编程题答题说明

点击编程题进入答题页面后,您可以看到导航栏处两个标签,分别为题目说明提交作业

题目说明

题目说明标签内包含:需求答题流程如何运行

提交作业

提交作业标签内包含: 编程题模板库地址github仓库地址github仓库分支 Alt text

用户在本地做完每道编程题后在此标签内提交编程题的github地址

运行结果

  • 用户在提交题目后,系统会自行进行处理 Alt text
  • 若结果正确,则下一题解锁,用户继续完成下一题目 Alt text
  • 若错误,请继续完成本题目,直至正确或答题超时 Alt text

编程题答题注意事项

  • 因题目难度不同,答题流程也不太相同
  • 因题目难度不同,题目运行结果时间不定,请耐心等待
  • 因题目难度不同,编程题模板库可能不提供

以下为本题内容

题目描述

根据如下顺序完成题目:

  • 根据 答题流程 clone模板库
  • 请在该库内新建一个名为HELLOWORLD.md的文件,并保证测试通过
  • 根据 答题流程 通过本地测试,再提交到自己的远程仓库,最后将Github地址提交作业

考察要点

  • github仓库的使用
  • git基础

自学任务

参考资料

  1. Git for Windows
  2. Git 参考手册
  3. github用法

答题流程

  1. 请用户仔细阅读题目要求和题目描述

  2. 请访问下面「提交作业」一栏中的编程题模板库地址,再点击右上角的fork按钮到自己的仓库。

  3. 下载仓库到本地。

    • 方法一:在命令行中使用以下命令在用户本地任意目录下clone此题目库
    git clone your_repo_address
    
    • 方法二:直接下载 ZIP 压缩包到本地,然后解压缩。

    NOTE:如果提示git命令未找到请先阅读参考资料

  4. 用任意编辑器打开 clone 或者下载下来的文件夹,根据「题目描述」完成作业。

  5. 请使用git提交(commit)并上传(push),之后将自己github仓库地址:(https://github.com/username/repo) 填入到提交地址一栏 。注意:请输入 https开头的地址,而非 [email protected]开头的地址

  6. 获取分支

  7. 提交

  8. 等待结果

如何本地运行测试,检验自己的代码是否正确

阅读 如何安装 npm 并管理 npm 版本 | npm 中文文档

  1. 打开终端,进入到项目本地地址。
  2. 输入下列指令,使用命令行安装依赖:
    npm install
    
  3. 运行下面指令,执行测试:
    npm test
    
    如下图,显示 0 failures,表示你的作业答案正确

可以通过测试来检测本地代码是否完成作业要求,测试通过即可提交到github。把git库地址和分支填到「提交作业」一栏中,并提交作业。

2018-08-14-04-17-05-1534220225's People

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.