Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.DS_Store
Chinkeki.html
JohnAdemoye.html
Oluwaseyi.html
README.md
derekowusubekoe.html
khalifa.html

README.md

Project JavaScript A1 Introduction

Topics: Console, Comments, Data Types, Arithmetic Operators, String Concatenation, Properties, Methods, Built-in Objects

Project Title: Marksheet

  1. Create a html file with your name like john.html
  2. Add current code to that file:
<!DOCTYPE html>
<html>
  <body>
    <script>
      // your code here
    </script>
  </body>
</html>
  1. Use console.log to log these info in the console.
Subject Full Marks Pass Marks Obtained
Math 100 50 80
Science 100 50 60
Computer 100 50 40
Average 60

Note:

  • No need to show lines
  • Do not use variables
  • Average can not be 60 itself. use + operator to sum marks and / operator to calculate the average.
  • User \t to make space between columns. First line would be like this:
console.log("Subjects \t Full Marks \t Pass Marks \t Obtained");

Want to get reviewed?

Send Pull Request. Check how to deliver your code: https://codingwithbasir.com/how-to-deliver-projects/

Need help?

Download Learn JavaScript eBook from https://codingwithbasir.com/learn-javascript

You can’t perform that action at this time.