An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: ternary-operator

Prabhakar-Naik/python-core

learn python core concepts

Language: Python - Size: 48.8 KB - Last synced at: about 3 hours ago - Pushed at: about 4 hours ago - Stars: 1 - Forks: 0

AJAYKUMAR-B-S/Learn-Javascript

👋 The Complete JavaScript Course 2024 includes covered topics, theory explanations with solutions, and detailed personal notes from learning sessions.

Language: JavaScript - Size: 2.12 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 1 - Forks: 1

nadakhader04/JavaScript-Basics

A simple JavaScript summary with step-by-step explanations and code examples.

Size: 45.9 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 1 - Forks: 0

GGC0des/exercism-challenges

This repository serves as a personal collection of coding challenges from the Exercism platform. The goal is to enhance my problem-solving skills, explore different programming paradigms, and document my learning journey across multiple languages.

Language: Java - Size: 964 KB - Last synced at: 28 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

yyle88/tern

tern is a lightweight Go package for simple, concise ternary expressions, enabling clear conditional logic.

Language: Go - Size: 65.4 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 87 - Forks: 2

jjackson112/recipe-app-full-stack

A full stack application project.

Language: CSS - Size: 12.9 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 0 - Forks: 0

solaris0051/simplePomodoroTimer

mulitiple-due-time-pomodoro-timer

Language: JavaScript - Size: 2.42 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

HasibCoderLab/JavaScript-Control-Flow

JavaScript if/else Practice Problems – A collection of beginner-friendly JavaScript problems focused on if/else conditions. 🚀

Language: JavaScript - Size: 7.81 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

jjackson112/60-characters-or-less

Conditional rendering in React using hook -- useState, ternary operators

Language: JavaScript - Size: 0 Bytes - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

fluxnull/Use-Ternary

Use-Ternary is a PowerShell function that emulates a ternary operator (condition ? trueValue : falseValue) in PowerShell 5.0. It simplifies conditional expressions, improving readability while maintaining efficiency.

Language: PowerShell - Size: 8.79 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 1 - Forks: 0

Kinetics20/Python_practice_sessions

This is my Python practice sessions, using functional and OOP paradigms with mypy and pytest.

Language: Jupyter Notebook - Size: 50.8 MB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

spacekookie/ternop.rs

A tiny macro that implements a ternary operator for Rust

Language: Rust - Size: 3.91 KB - Last synced at: about 2 months ago - Pushed at: over 7 years ago - Stars: 14 - Forks: 0

sharifkhan96/C-plus-plus_first-semester-of-university

I have studied C++ as the fundamental subject of my computer science degree..

Language: C++ - Size: 889 KB - Last synced at: 3 months ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0

Mk4Levi/Pirate-War-Game

Pirate War Game using Vanilla-JS

Language: JavaScript - Size: 6.92 MB - Last synced at: 2 months ago - Pushed at: 10 months ago - Stars: 6 - Forks: 0

YusufBolden/Assessment-Survey

Python Assessment Survey project workspace

Language: Jupyter Notebook - Size: 501 KB - Last synced at: 11 months ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

Karim-W/tern

TernAry is a simple, lightweight, and easy-to-use function to implement a ternary statement in golang.

Language: Go - Size: 1.95 KB - Last synced at: 5 days ago - Pushed at: 11 months ago - Stars: 0 - Forks: 0

void-sta1ker/tifel-playground

Frontend for tifel package

Language: Vue - Size: 114 KB - Last synced at: 3 months ago - Pushed at: 12 months ago - Stars: 0 - Forks: 0

Fatima-hub333/ternary_practice

Different practice exercises of ternary statements instead of using (for) loop

Size: 356 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

thetosinfaith/introduction-to-react-components

⚛️ Repo for learning about React.js

Language: HTML - Size: 4.88 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

jerin-arpa/basic-typescript

Language: TypeScript - Size: 20.5 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

suyogghate/connect-4-game

This is a connect-4 game played between 2 players in which one player is assigned yellow color and other gets red color. Then player's turn is showed in the top right corner. The aim of the player is to make 4 of his color in upward/downward/diagonal direction. The first player who manages to get this wins.

Language: JavaScript - Size: 4.88 KB - Last synced at: about 1 year ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

bell-kevin/chapter12ExerciseProjectCountingCoins

Chapter 12 Exercise Project: Counting Coins. You run a very successful ice cream truck in the summer, with lots of kids paying for ice cream in coins. At the end of the day, you have a large pile of coins. It would be very helpful if you could just count the number of quarters, the number of dimes, the number of nickels, and the number of pennies, enter those counts of each type of coin into a program, and have the program calculate the total worth of all the coins. For this project, you will use an enum named Coin, which specifies the name and the worth of each type of coin. See Fig 12.11a on p. 547 for an example of an enum with additional information. In the driver code, ask the user how many coins are a quarter, how many are a dime, and so on, and calculate the value of that pile of coins. Ask the user what they think the pile of coins is worth. Using the ternary or conditional operator, compare the user's guess to the value of the pile of coins to display either "You are correct" or "You are incorrect". Note that the names of each member of the enum are capitalized, as appropriate for constants. Use a For-Each loop to go through each of the elements of the enum to ask for the number of that type of coin and calculate the worth of those coins. Look at the code on the bottom of p. 548 for an example. Be sure to use proper formatting for currency on those lines displaying money values. Run the project 4 times, with different values for the piles of coins. Two of the guesses need to be correct and 2 incorrect. Take screenshots of the results. Note: This project must have an enum, a For-Each loop, and a ternary or conditional operator. Submission:the specified screenshots and the root folder for the project Pay careful attention to the rubric for this assignment. Note that you must use correct formatting in the code -- appropriate indentation is most important. You can use Shift-Alt-F to have NetBeans automatically format the code correctly. If the formatting is incorrect, it will be returned to you for changes with a grade of zero. Note: You need to submit the whole project for these assignments. In File Explorer, go to the location where you created the project. There will be a folder with the name of your project -- that is the root folder of the project. If you submit the root folder of the project, the instructor can run it on a different machine to grade it. If you don't submit the proper folder, it won't run on another machine, and the assignment will be marked with a zero.

Language: Java - Size: 78.1 KB - Last synced at: 3 months ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

aryadongre12/Object-Oriented-Data-Structures-Practical

All the practicals that were performed in Object Oriented Data Structures Lab

Language: Java - Size: 17.6 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

SWizzard779/dragon-game

JS-driven game "Fight the dragon"

Language: JavaScript - Size: 3.91 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

suhani-ops/Music-App

While working on this project I was working on audio playback, managing a playlist, implementing play, pause, next, previous, and shuffle functionalities. I learnt how to dynamically update our user interface based on the current song, concept learing - ArrayList, Browser Event Handling, Object Iteration,spread operators, Condional statements

Language: JavaScript - Size: 8.79 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

Ana-Niko-byte/math-tab-mastery

An engaging and intuitive frontend application for young users to master speedy mental arithmetic.

Language: JavaScript - Size: 15.2 MB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 1

marta-pylypchuk/codewars-rock-paper-scissors

8 kyu

Language: Java - Size: 1.95 KB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

marta-pylypchuk/codewars-responsible-drinking

7 kyu

Language: Java - Size: 1.95 KB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

ChandruMonica2705/pricingCard

React Price Card Task 1

Language: JavaScript - Size: 40 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

pranx2/If-Else

# If else in C

Language: C - Size: 3.91 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

evans646/React-starter

Starter template for my blog React Conditional Rendering

Language: JavaScript - Size: 275 KB - Last synced at: over 1 year ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

lac617a/react-switch-casu

Conditional rendering in React works the same way conditions work in JavaScript. Stop using JavaScript operators like if or ternary conditional operators to create elements that represent the current state and let `react-switch-casu` take care of updating the UI to match them.

Language: TypeScript - Size: 15.6 KB - Last synced at: 3 days ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

iahmadiqbalbhatti/PizzaMenuApp

Its a simple React JS App. Its for Learning ReactJS.

Language: JavaScript - Size: 714 KB - Last synced at: 8 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

catiaraquelabreu/Pizza-Menu-REACT

Primeiro projeto de treino em React

Language: JavaScript - Size: 433 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

Xander1936/tours

This is a React App that's display tour from an api with theirs properties (image, name, price and info). It's the N°2 React project in the collection "Code 15 React Projects by John Smilga" at FreeCodeCamp.

Language: CSS - Size: 586 KB - Last synced at: 8 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

jerin-arpa/javascript_for_react

Language: JavaScript - Size: 4.88 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

madhurimarawat/Ruby-Programming

This repository contains programs in the Ruby Programming Language.

Language: Ruby - Size: 62.5 KB - Last synced at: 3 months ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

MGhandour92/TernaryCoalescingOperator

An example to show the difference between the traditional if-else, ternary and coalescing operators

Language: C# - Size: 131 KB - Last synced at: almost 2 years ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 0

mujeebnazir/C-programs.

Basic programs in ' C ' language!

Language: C - Size: 39.1 KB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

kamilarici/accord-tw10-1

accord

Language: JavaScript - Size: 206 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

IzabellaFCBueno/fundamentos-js

Fundamentos de Javascript aprendidos durante o curso da Alura

Language: JavaScript - Size: 3.91 KB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

Vimalf-git/Function-Task-JS

Here i attached All function type task

Language: JavaScript - Size: 4.88 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

iammmila/TS_learning

in this repo, we will see Mosh's method to learn TypeScript.

Language: TypeScript - Size: 283 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

NegarSal/Weather-app

creating a weather_app

Language: JavaScript - Size: 28.3 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

ymzuiku/hit

在Golang中使用三木运算, 测试覆盖率100%, 请放心使用 / Use ternary operator in Golang

Language: Go - Size: 36.1 KB - Last synced at: 25 days ago - Pushed at: almost 5 years ago - Stars: 37 - Forks: 8

Sharmi-l/shopping-homepage--React-project2

add items to cart and remove items from cart

Language: JavaScript - Size: 303 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

shafiqrefat/note-taking-app

This is note taking reactjs simple app. You can take your note here, search your note and you can also delete your note. You can also toggling the dark-light mode.

Language: JavaScript - Size: 83 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

FerMoon/comision-39470

Sample code for the JS study path @ coderhouse

Language: JavaScript - Size: 1.07 MB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 2

VaibhavMojidra/Java---Demo-Conditional-Operator

he conditional operator is also known as the ternary operator. This operator consists of three operands and is used to evaluate Boolean expressions. The goal of the operator is to decide; which value should be assigned to the variable.

Language: Java - Size: 55.7 KB - Last synced at: 5 days ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

katGhost/cryptoApp

A minimum of three screens simple crypto app. [dummyData] for cryptocurrencies was taken from @noJust.dev, from the awesome Vadim and Lokas Grinevicius.

Language: JavaScript - Size: 309 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

robin-dc/Dry-Coding-Practice Fork of appacademy/practice-for-week-04-DRY

A lesson by appacademy.io

Size: 10.7 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 0

alleycaaat/connect-four

A classic game gone digital: Connect Four. This game is pure JavaScript; the board is created with the forEach method, adding an id and aria-label to each spot a puck can occupy. After the seventh turn it uses the forEach method and a While loop to see if a player has won.

Language: JavaScript - Size: 22.5 KB - Last synced at: 2 months ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

marta-pylypchuk/codewars-total-amount-of-points

8 kyu

Language: Java - Size: 1.95 KB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

KarinaKrivko/redux-first-project

Language: JavaScript - Size: 147 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

suryad6201/Guess-my-number

Knowledge used: JavaScript, DOM Manipulation, Event Handling, Conditional Statements, Ternary Operator

Language: JavaScript - Size: 42 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

Mustafa364/Javascript-ES6---Topics

Here are the JavaScript (ECMA SCRIPT 2015) Topics with Examples For Beginners

Language: JavaScript - Size: 3.91 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

AmanpreetSingh1995/image-carousel

Carousel should allow the user to click the backwards or forwards button to go to the previous or next image.

Language: HTML - Size: 169 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

AntonV0/magic-eight-ball

Project #22 of Codecademy's Full Stack Engineer Career Path

Language: JavaScript - Size: 1.95 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 2 - Forks: 0

future-wd/video-astro-dynamic-title

Dynamically display a title tag based on the page with ASTRO

Language: Astro - Size: 103 KB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

Joe-Isaac/cheat-sheet

many basic js concepts from when I was a passionate rookie

Language: HTML - Size: 8.79 KB - Last synced at: about 2 years ago - Pushed at: almost 4 years ago - Stars: 2 - Forks: 0

meline-p/ToDoList

React App

Language: JavaScript - Size: 3.91 KB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

adrianoaraujo0/app_quiz_curso_c0d3r

Jogo de perguntas e respostas.

Language: Dart - Size: 56.6 KB - Last synced at: about 2 years ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

qrhfz/tern

A ternary package for Go

Language: Go - Size: 1.95 KB - Last synced at: 12 months ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

paridhishah96/projectThree

Your one stop shop to everything music

Language: JavaScript - Size: 3.24 MB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

webbddev/questions-answers_show-hide

React project with show/hide modal functionality using useState and ternaries

Language: CSS - Size: 2.68 MB - Last synced at: about 2 years ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

pragatirathi5/View-More-using-Button-onClick-React

To display full details of the user using button onClick.

Language: JavaScript - Size: 303 KB - Last synced at: over 2 years ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

dattabiplab/NIT-A_C_Questions

Here I have solved all NIT-A C Questions

Language: C - Size: 792 KB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

chukshon/React-mini-project_Basic-accordion

This is a basic accordion app. Built with react, html and css

Language: CSS - Size: 323 KB - Last synced at: about 2 years ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

xtina-lt/First-National-North-Pole

Faux banking python project. Shows understanding of python fundamentals (variables, lists, functions, control statements, objects [dictionaries, classes]). Plays with ternary opertors and list comprehension. Shows understanding of OOP. CLASS objectives: define, instantiate, call methods[instance, static, cls], define/use global attributes, and modularization.

Language: Python - Size: 2.93 KB - Last synced at: over 2 years ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

techdarrough/MP1-broswerGame

Code Prompt For UNLV MP1

Language: JavaScript - Size: 7.48 MB - Last synced at: over 2 years ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

alexander-sosa/flutter-animated-switcher

Animated Switcher - Mobile Devices Programming

Language: Dart - Size: 53.7 KB - Last synced at: over 2 years ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

KunYuChang/palindrome-checker

天能檢查器

Language: CSS - Size: 1000 Bytes - Last synced at: about 2 years ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

lillapulay/basic-js-functions

Pre-course assessment for basic JavaScript functions and arrow syntax.

Language: JavaScript - Size: 71.3 KB - Last synced at: over 2 years ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

lucas-stoltman/JS-Fundamentals

A playground where I can practice basic JavaScript fundamentals.

Language: JavaScript - Size: 55.7 KB - Last synced at: over 2 years ago - Pushed at: about 4 years ago - Stars: 0 - Forks: 0

tsnsoft/TSN_JAVA_AN_DEMO

Пример использования аннотаций, лямбда-выражений и тернарного оператора в Java для NetBeans

Language: Java - Size: 1.77 MB - Last synced at: 3 months ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

FeyAgape/Intro-To-Javascript

javascript

Language: JavaScript - Size: 5.67 MB - Last synced at: about 2 years ago - Pushed at: over 6 years ago - Stars: 2 - Forks: 1

davidmasse/blog-tips-two

More Pandas Patterns for ETL and EDA

Size: 42 KB - Last synced at: over 2 years ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

srquev/Vote-Eligiblity

Simple vote eligiblity checker using JavaScript ternary operator.Webpage is fully responsive.

Language: HTML - Size: 1000 Bytes - Last synced at: almost 2 years ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0